Default to AM_Q (maybe idk, subghz code is a mess) --nobuild

This commit is contained in:
Willy-JL
2023-12-01 23:46:06 +00:00
parent e2df487c63
commit 24b994102d
3 changed files with 5 additions and 5 deletions

View File

@@ -694,7 +694,7 @@ SubGhzReceiver* subghz_txrx_get_receiver(SubGhzTxRx* instance) {
void subghz_txrx_set_default_preset(SubGhzTxRx* instance, uint32_t frequency) {
furi_assert(instance);
const char* default_modulation = "AM650";
const char* default_modulation = "AM_Q";
if(frequency == 0) {
frequency = subghz_setting_get_default_frequency(subghz_txrx_get_setting(instance));
}

View File

@@ -362,7 +362,7 @@ void subghz_txrx_reset_dynamic_and_custom_btns(SubGhzTxRx* instance);
SubGhzReceiver* subghz_txrx_get_receiver(SubGhzTxRx* instance); // TODO use only in DecodeRaw
/**
* @brief Set current preset AM650 without additional params
* @brief Set current preset AM_Q without additional params
*
* @param instance - instance Pointer to a SubGhzTxRx
* @param frequency - frequency of preset, if pass 0 then taking default frequency 433.92MHz

View File

@@ -9,9 +9,9 @@
#define SUBGHZ_LAST_SETTING_FREQUENCY_ANALYZER_TRIGGER (-93.0f)
#define SUBGHZ_LAST_SETTING_SAVE_BIN_RAW true
#define SUBGHZ_LAST_SETTING_SAVE_PRESET true
// 1 = "AM650"
// "AM270", "AM650", "FM238", "FM476",
#define SUBGHZ_LAST_SETTING_DEFAULT_PRESET 1
// 2 = "AM_Q"
// "AM270", "AM650", "AM_Q", "FM238", "FM476",
#define SUBGHZ_LAST_SETTING_DEFAULT_PRESET 2
#define SUBGHZ_LAST_SETTING_DEFAULT_FREQUENCY 433920000
#define SUBGHZ_LAST_SETTING_FREQUENCY_ANALYZER_FEEDBACK_LEVEL 2