mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-07-29 02:08:10 -07:00
Revert "Default to AM_Q (maybe idk, subghz code is a mess) --nobuild"
This reverts commit 24b994102d.
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) {
|
void subghz_txrx_set_default_preset(SubGhzTxRx* instance, uint32_t frequency) {
|
||||||
furi_assert(instance);
|
furi_assert(instance);
|
||||||
|
|
||||||
const char* default_modulation = "AM_Q";
|
const char* default_modulation = "AM650";
|
||||||
if(frequency == 0) {
|
if(frequency == 0) {
|
||||||
frequency = subghz_setting_get_default_frequency(subghz_txrx_get_setting(instance));
|
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
|
SubGhzReceiver* subghz_txrx_get_receiver(SubGhzTxRx* instance); // TODO use only in DecodeRaw
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Set current preset AM_Q without additional params
|
* @brief Set current preset AM650 without additional params
|
||||||
*
|
*
|
||||||
* @param instance - instance Pointer to a SubGhzTxRx
|
* @param instance - instance Pointer to a SubGhzTxRx
|
||||||
* @param frequency - frequency of preset, if pass 0 then taking default frequency 433.92MHz
|
* @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_FREQUENCY_ANALYZER_TRIGGER (-93.0f)
|
||||||
#define SUBGHZ_LAST_SETTING_SAVE_BIN_RAW true
|
#define SUBGHZ_LAST_SETTING_SAVE_BIN_RAW true
|
||||||
#define SUBGHZ_LAST_SETTING_SAVE_PRESET true
|
#define SUBGHZ_LAST_SETTING_SAVE_PRESET true
|
||||||
// 2 = "AM_Q"
|
// 1 = "AM650"
|
||||||
// "AM270", "AM650", "AM_Q", "FM238", "FM476",
|
// "AM270", "AM650", "FM238", "FM476",
|
||||||
#define SUBGHZ_LAST_SETTING_DEFAULT_PRESET 2
|
#define SUBGHZ_LAST_SETTING_DEFAULT_PRESET 1
|
||||||
#define SUBGHZ_LAST_SETTING_DEFAULT_FREQUENCY 433920000
|
#define SUBGHZ_LAST_SETTING_DEFAULT_FREQUENCY 433920000
|
||||||
#define SUBGHZ_LAST_SETTING_FREQUENCY_ANALYZER_FEEDBACK_LEVEL 2
|
#define SUBGHZ_LAST_SETTING_FREQUENCY_ANALYZER_FEEDBACK_LEVEL 2
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user