优化小圆点的显示逻辑
This commit is contained in:
parent
83dbbabcee
commit
23202900df
|
@ -708,6 +708,7 @@ static void MAIN_Key_UP_DOWN(bool bKeyPressed, bool bKeyHeld, int8_t Direction)
|
|||
}
|
||||
|
||||
void MAIN_ProcessKeys(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld) {
|
||||
last_rx_vfo = -1;
|
||||
#ifdef ENABLE_FMRADIO
|
||||
if (gFmRadioMode && Key != KEY_PTT && Key != KEY_EXIT)
|
||||
{
|
||||
|
|
2
misc.c
2
misc.c
|
@ -19,6 +19,8 @@
|
|||
#include "misc.h"
|
||||
#include "settings.h"
|
||||
|
||||
unsigned int last_rx_vfo = -1;
|
||||
|
||||
const uint8_t fm_radio_countdown_500ms = 2000 / 500; // 2 seconds
|
||||
const uint16_t fm_play_countdown_scan_10ms = 100 / 10; // 100ms
|
||||
const uint16_t fm_play_countdown_noscan_10ms = 1200 / 10; // 1.2 seconds
|
||||
|
|
1
misc.h
1
misc.h
|
@ -337,3 +337,4 @@ inline bool SerialConfigInProgress() { return gSerialConfigCountDown_500ms != 0;
|
|||
|
||||
|
||||
#endif
|
||||
extern unsigned int last_rx_vfo;
|
||||
|
|
Loading…
Reference in New Issue