mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-07-31 02:23:04 -07:00
Improve flipper init and add logging + led
This commit is contained in:
@@ -37,8 +37,6 @@ XtremeSettings xtreme_settings = {
|
||||
};
|
||||
|
||||
void XTREME_SETTINGS_LOAD() {
|
||||
if(!furi_hal_is_normal_boot()) return;
|
||||
|
||||
XtremeSettings* x = &xtreme_settings;
|
||||
Storage* storage = furi_record_open(RECORD_STORAGE);
|
||||
FlipperFormat* file = flipper_format_file_alloc(storage);
|
||||
@@ -169,8 +167,6 @@ void XTREME_SETTINGS_LOAD() {
|
||||
}
|
||||
|
||||
void XTREME_SETTINGS_SAVE() {
|
||||
if(!furi_hal_is_normal_boot()) return;
|
||||
|
||||
XtremeSettings* x = &xtreme_settings;
|
||||
Storage* storage = furi_record_open(RECORD_STORAGE);
|
||||
FlipperFormat* file = flipper_format_file_alloc(storage);
|
||||
|
||||
Reference in New Issue
Block a user