mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-27 15:00:46 +00:00
add a bit of changes
This commit is contained in:
parent
8f2bd3be57
commit
0ebb3f060e
2 changed files with 4 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
#define SUBGHZ_LAST_SETTING_FILE_TYPE "Flipper SubGhz Last Setting File"
|
#define SUBGHZ_LAST_SETTING_FILE_TYPE "Flipper SubGhz Last Setting File"
|
||||||
#define SUBGHZ_LAST_SETTING_FILE_VERSION 1
|
#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"
|
// 1 = "AM650"
|
||||||
// "AM270", "AM650", "FM238", "FM476",
|
// "AM270", "AM650", "FM238", "FM476",
|
||||||
#define SUBGHZ_LAST_SETTING_DEFAULT_PRESET 1
|
#define SUBGHZ_LAST_SETTING_DEFAULT_PRESET 1
|
||||||
|
|
|
@ -33,8 +33,8 @@ static const NotificationSequence sequence_hw_blink_stop = {
|
||||||
static const NotificationSequence sequence_saved = {
|
static const NotificationSequence sequence_saved = {
|
||||||
&message_blink_stop,
|
&message_blink_stop,
|
||||||
&message_blue_0,
|
&message_blue_0,
|
||||||
&message_green_0,
|
&message_green_255,
|
||||||
&message_red_255,
|
&message_red_0,
|
||||||
&message_vibro_on,
|
&message_vibro_on,
|
||||||
&message_delay_100,
|
&message_delay_100,
|
||||||
&message_vibro_off,
|
&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) {
|
uint32_t subghz_frequency_analyzer_get_frequency_to_save(SubGhzFrequencyAnalyzer* instance) {
|
||||||
|
furi_assert(instance);
|
||||||
uint32_t frequency;
|
uint32_t frequency;
|
||||||
with_view_model(
|
with_view_model(
|
||||||
instance->view, (SubGhzFrequencyAnalyzerModel * model) {
|
instance->view, (SubGhzFrequencyAnalyzerModel * model) {
|
||||||
|
|
Loading…
Reference in a new issue