mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-12 11:08:36 -07:00
Api Symbols: replace asserts with checks
merge ofw commit
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
volatile bool furi_hal_debug_gdb_session_active = false;
|
||||
|
||||
void furi_hal_debug_enable() {
|
||||
void furi_hal_debug_enable(void) {
|
||||
// Low power mode debug
|
||||
LL_DBGMCU_EnableDBGSleepMode();
|
||||
LL_DBGMCU_EnableDBGStopMode();
|
||||
@@ -25,7 +25,7 @@ void furi_hal_debug_enable() {
|
||||
&gpio_swclk, GpioModeAltFunctionPushPull, GpioPullDown, GpioSpeedLow, GpioAltFn0JTCK_SWCLK);
|
||||
}
|
||||
|
||||
void furi_hal_debug_disable() {
|
||||
void furi_hal_debug_disable(void) {
|
||||
// Low power mode debug
|
||||
LL_DBGMCU_DisableDBGSleepMode();
|
||||
LL_DBGMCU_DisableDBGStopMode();
|
||||
@@ -36,6 +36,6 @@ void furi_hal_debug_disable() {
|
||||
furi_hal_gpio_init_simple(&gpio_swclk, GpioModeAnalog);
|
||||
}
|
||||
|
||||
bool furi_hal_debug_is_gdb_session_active() {
|
||||
bool furi_hal_debug_is_gdb_session_active(void) {
|
||||
return furi_hal_debug_gdb_session_active;
|
||||
}
|
||||
Reference in New Issue
Block a user