mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-07-09 15:20:26 +03:00
First test
This commit is contained in:
15
misc.h
15
misc.h
@ -67,9 +67,9 @@ enum AlarmState_t {
|
||||
typedef enum AlarmState_t AlarmState_t;
|
||||
|
||||
enum ReceptionMode_t {
|
||||
RX_MODE_NONE = 0,
|
||||
RX_MODE_DETECTED,
|
||||
RX_MODE_LISTENING
|
||||
RX_MODE_NONE = 0, // squelch close ?
|
||||
RX_MODE_DETECTED, // signal detected
|
||||
RX_MODE_LISTENING //
|
||||
};
|
||||
|
||||
typedef enum ReceptionMode_t ReceptionMode_t;
|
||||
@ -105,6 +105,9 @@ extern const uint8_t scan_delay_10ms;
|
||||
|
||||
extern const uint16_t battery_save_count_10ms;
|
||||
|
||||
extern const uint16_t power_save1_10ms;
|
||||
extern const uint16_t power_save2_10ms;
|
||||
|
||||
extern const uint16_t dual_watch_count_after_tx_10ms;
|
||||
extern const uint16_t dual_watch_count_after_rx_10ms;
|
||||
extern const uint16_t dual_watch_count_after_1_10ms;
|
||||
@ -127,6 +130,9 @@ extern bool gSetting_TX_EN;
|
||||
extern uint8_t gSetting_F_LOCK;
|
||||
extern bool gSetting_ScrambleEnable;
|
||||
|
||||
#ifdef ENABLE_AM_AGC_GAIN
|
||||
extern bool gSetting_AM_fix;
|
||||
#endif
|
||||
#ifdef ENABLE_AUDIO_BAR
|
||||
extern bool gSetting_mic_bar;
|
||||
#endif
|
||||
@ -152,8 +158,9 @@ extern uint16_t gEEPROM_1F8C;
|
||||
extern uint8_t gMR_ChannelAttributes[207];
|
||||
|
||||
extern volatile uint16_t gBatterySaveCountdown_10ms;
|
||||
|
||||
extern volatile bool gPowerSaveCountdownExpired;
|
||||
extern volatile bool gSchedulePowerSave;
|
||||
extern volatile bool gBatterySaveCountdownExpired;
|
||||
|
||||
extern volatile bool gScheduleDualWatch;
|
||||
|
||||
|
Reference in New Issue
Block a user