add a bit of changes

This commit is contained in:
MX 2022-09-28 06:46:45 +03:00
parent 8f2bd3be57
commit 0ebb3f060e
No known key found for this signature in database
GPG key ID: 6C4C311DFD4B4AB5
2 changed files with 4 additions and 3 deletions

View file

@ -5,7 +5,7 @@
#define SUBGHZ_LAST_SETTING_FILE_TYPE "Flipper SubGhz Last Setting File"
#define SUBGHZ_LAST_SETTING_FILE_VERSION 1
#define SUBGHZ_LAST_SETTINGS_PATH EXT_PATH("subghz/assets/subghz.settings")
#define SUBGHZ_LAST_SETTINGS_PATH EXT_PATH("subghz/assets/last_subghz.settings")
// 1 = "AM650"
// "AM270", "AM650", "FM238", "FM476",
#define SUBGHZ_LAST_SETTING_DEFAULT_PRESET 1

View file

@ -33,8 +33,8 @@ static const NotificationSequence sequence_hw_blink_stop = {
static const NotificationSequence sequence_saved = {
&message_blink_stop,
&message_blue_0,
&message_green_0,
&message_red_255,
&message_green_255,
&message_red_0,
&message_vibro_on,
&message_delay_100,
&message_vibro_off,
@ -454,6 +454,7 @@ View* subghz_frequency_analyzer_get_view(SubGhzFrequencyAnalyzer* instance) {
}
uint32_t subghz_frequency_analyzer_get_frequency_to_save(SubGhzFrequencyAnalyzer* instance) {
furi_assert(instance);
uint32_t frequency;
with_view_model(
instance->view, (SubGhzFrequencyAnalyzerModel * model) {