finalization of saving last settings

- Check loading of critical values in subghz_last_settings_log
- Change comparison of float type to safe
- Refactor
This commit is contained in:
DerSkythe
2023-08-08 17:31:46 +04:00
parent 8c44dfb6af
commit 5bbee02704
10 changed files with 44 additions and 29 deletions

View File

@@ -61,7 +61,7 @@ bool subghz_scene_frequency_analyzer_on_event(void* context, SceneManagerEvent e
if(frequency > 0) {
subghz->last_settings->frequency = frequency;
#ifdef FURI_DEBUG
subghz_last_settings_log(subghz->last_settings, subghz->ignore_filter);
subghz_last_settings_log(subghz->last_settings);
#endif
subghz_last_settings_save(subghz->last_settings);
}