mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
Default to AM_Q (maybe idk, subghz code is a mess) --nobuild
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user