mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
finalization of saving last settings
- Check loading of critical values in subghz_last_settings_log - Change comparison of float type to safe - Refactor
This commit is contained in:
@@ -345,7 +345,21 @@ 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
|
||||
*
|
||||
* @param instance - instance Pointer to a SubGhzTxRx
|
||||
* @param frequency - frequency of preset, if pass 0 then taking default frequency 433.92MHz
|
||||
*/
|
||||
void subghz_txrx_set_default_preset(SubGhzTxRx* instance, uint32_t frequency);
|
||||
|
||||
/**
|
||||
* @brief Set current preset by index
|
||||
*
|
||||
* @param instance - instance Pointer to a SubGhzTxRx
|
||||
* @param frequency - frequency of new preset
|
||||
* @param index - index of preset taken from SubGhzSetting
|
||||
* @return const char* - name of preset
|
||||
*/
|
||||
const char*
|
||||
subghz_txrx_set_preset_internal(SubGhzTxRx* instance, uint32_t frequency, uint8_t index);
|
||||
|
||||
Reference in New Issue
Block a user