mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-13 12:48:35 -07:00
Update list of frequencies and change name of file of settings to not able to run in browser
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
#include "subghz_last_settings.h"
|
||||
#include <furi.h>
|
||||
#include <furi_hal.h>
|
||||
#include <lib/flipper_format/flipper_format.h>
|
||||
|
||||
#define TAG "SubGhzLastSettings"
|
||||
|
||||
#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/subghz.settings")
|
||||
// 1 = "AM650"
|
||||
// "AM270", "AM650", "FM238", "FM476",
|
||||
#define SUBGHZ_LAST_SETTING_DEFAULT_PRESET 1
|
||||
|
||||
@@ -48,24 +48,13 @@ static const NotificationSequence sequence_not_saved = {
|
||||
NULL,
|
||||
};
|
||||
|
||||
static const uint32_t subghz_frequency_list[17] = {
|
||||
300000000,
|
||||
303875000,
|
||||
304250000,
|
||||
310000000,
|
||||
315000000,
|
||||
318000000,
|
||||
390000000,
|
||||
418000000,
|
||||
433075000,
|
||||
433420000,
|
||||
433920000,
|
||||
434420000,
|
||||
434775000,
|
||||
438900000,
|
||||
868350000,
|
||||
915000000,
|
||||
925000000};
|
||||
static const uint32_t subghz_frequency_list[] = {
|
||||
300000000, 302757000, 303875000, 304250000, 307000000, 307500000, 307800000,
|
||||
309000000, 310000000, 312000000, 312100000, 313000000, 313850000, 314000000,
|
||||
314350000, 315000000, 318000000, 345000000, 348000000, 387000000, 390000000,
|
||||
418000000, 433075000, 433220000, 433420000, 433657070, 433889000, 433920000,
|
||||
434176948, 434420000, 434775000, 438900000, 464000000, 779000000, 868350000,
|
||||
868400000, 868950000, 906400000, 915000000, 925000000, 928000000};
|
||||
|
||||
typedef enum {
|
||||
SubGhzFrequencyAnalyzerStatusIDLE,
|
||||
|
||||
Reference in New Issue
Block a user