mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-14 13:48:35 -07:00
Fix flipper fmt file handling in xfw app
This commit is contained in:
@@ -261,7 +261,9 @@ XtremeApp* xtreme_app_alloc() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} while(false);
|
} while(false);
|
||||||
|
flipper_format_free(file);
|
||||||
|
|
||||||
|
file = flipper_format_file_alloc(storage);
|
||||||
if(flipper_format_file_open_existing(file, "/ext/subghz/assets/extend_range.txt")) {
|
if(flipper_format_file_open_existing(file, "/ext/subghz/assets/extend_range.txt")) {
|
||||||
flipper_format_read_bool(file, "use_ext_range_at_own_risk", &app->subghz_extend, 1);
|
flipper_format_read_bool(file, "use_ext_range_at_own_risk", &app->subghz_extend, 1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user