mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-06-20 06:58:39 +03:00
FM radio updates
This commit is contained in:
9
radio.c
9
radio.c
@ -14,8 +14,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "app/app.h"
|
||||
#include "app/dtmf.h"
|
||||
#ifdef ENABLE_FMRADIO
|
||||
@ -965,10 +963,6 @@ void RADIO_set_vfo_state(vfo_state_t State)
|
||||
{
|
||||
g_vfo_state[0] = VFO_STATE_NORMAL;
|
||||
g_vfo_state[1] = VFO_STATE_NORMAL;
|
||||
|
||||
#ifdef ENABLE_FMRADIO
|
||||
g_fm_resume_tick_500ms = 0;
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -984,7 +978,8 @@ void RADIO_set_vfo_state(vfo_state_t State)
|
||||
}
|
||||
|
||||
#ifdef ENABLE_FMRADIO
|
||||
g_fm_resume_tick_500ms = fm_resume_500ms;
|
||||
if (g_fm_radio_mode && g_fm_resume_tick_500ms < fm_resume_500ms)
|
||||
g_fm_resume_tick_500ms = fm_resume_500ms;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user