RX_OFFSET move to settings.

This commit is contained in:
Nunu 2023-12-23 21:09:01 +01:00
parent f94b936016
commit c145272bbf
3 changed files with 3 additions and 4 deletions

View File

@ -354,7 +354,7 @@ int MENU_GetLimits(uint8_t menu_id, int32_t *pMin, int32_t *pMax)
*pMin = 0; *pMin = 0;
*pMax = 1; *pMax = 1;
break; break;
case MENU_F1SHRT: case MENU_F1SHRT:
case MENU_F1LONG: case MENU_F1LONG:
case MENU_F2SHRT: case MENU_F2SHRT:

View File

@ -68,9 +68,6 @@ typedef enum {
extern const uint16_t gStepFrequencyTable[21]; extern const uint16_t gStepFrequencyTable[21];
// // RxOffs maximum setting
#define RX_OFFSET_MAX 15000000
#ifdef ENABLE_NOAA #ifdef ENABLE_NOAA
extern const uint32_t NoaaFrequencyTable[10]; extern const uint32_t NoaaFrequencyTable[10];
#endif #endif

View File

@ -254,6 +254,8 @@ typedef struct {
extern EEPROM_Config_t gEeprom; extern EEPROM_Config_t gEeprom;
// RxOffs maximum setting
#define RX_OFFSET_MAX 15000000
#define RX_OFFSET_ADDR 0x0E9C #define RX_OFFSET_ADDR 0x0E9C
#ifdef ENABLE_FMRADIO #ifdef ENABLE_FMRADIO