Disable 1750 action if lock Key + PTT
This commit is contained in:
@@ -399,6 +399,9 @@ static void ACTION_Scan_FM(bool bRestart)
|
|||||||
static void ACTION_AlarmOr1750(const bool b1750)
|
static void ACTION_AlarmOr1750(const bool b1750)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
if(gSetting_set_lck)
|
||||||
|
return;
|
||||||
|
|
||||||
#if defined(ENABLE_ALARM)
|
#if defined(ENABLE_ALARM)
|
||||||
const AlarmState_t alarm_mode = (gEeprom.ALARM_MODE == ALARM_MODE_TONE) ? ALARM_STATE_TXALARM : ALARM_STATE_SITE_ALARM;
|
const AlarmState_t alarm_mode = (gEeprom.ALARM_MODE == ALARM_MODE_TONE) ? ALARM_STATE_TXALARM : ALARM_STATE_SITE_ALARM;
|
||||||
gAlarmRunningCounter = 0;
|
gAlarmRunningCounter = 0;
|
||||||
|
Reference in New Issue
Block a user