Hide debug tools if debug is not enabled. Application: update debug tools code base. SubGhz: log duty cycle. (#903)
* Application: clean debug_tools code base. * SubGhz: add duty cycle logging. * Application: hide debug tools if not enabled. Gui: move icon_animation allocation to menu module.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "system_settings.h"
|
||||
#include <loader/loader.h>
|
||||
|
||||
static uint8_t
|
||||
uint32_value_index(const uint32_t value, const uint32_t values[], uint8_t values_count) {
|
||||
@@ -54,6 +55,7 @@ static void debug_changed(VariableItem* item) {
|
||||
} else {
|
||||
furi_hal_rtc_reset_flag(FuriHalRtcFlagDebug);
|
||||
}
|
||||
loader_update_menu();
|
||||
}
|
||||
|
||||
static uint32_t system_settings_exit(void* context) {
|
||||
|
Reference in New Issue
Block a user