ui: fix voice prompts for CTCSS settings menu
Signed-off-by: Silvano Seva <silseva@fastwebnet.it>
This commit is contained in:
parent
18cef67746
commit
f742a081d3
|
|
@ -97,7 +97,7 @@ const stringsTable_t englishStrings =
|
||||||
.macroLatching = "Macro Latch",
|
.macroLatching = "Macro Latch",
|
||||||
.noGps = "No GPS",
|
.noGps = "No GPS",
|
||||||
.batteryIcon = "Battery Icon",
|
.batteryIcon = "Battery Icon",
|
||||||
.CTCSSTone = "CTCSS Frequency",
|
.CTCSSTone = "CTCSS Tone",
|
||||||
.CTCSSEn = "CTCSS En.",
|
.CTCSSEn = "CTCSS En.",
|
||||||
.Encode = "Encode",
|
.Encode = "Encode",
|
||||||
.Decode = "Decode",
|
.Decode = "Decode",
|
||||||
|
|
|
||||||
|
|
@ -2414,11 +2414,6 @@ void ui_updateFSM(bool *sync_rtx)
|
||||||
state.channel.fm.txTone %= CTCSS_FREQ_NUM;
|
state.channel.fm.txTone %= CTCSS_FREQ_NUM;
|
||||||
state.channel.fm.rxTone = state.channel.fm.txTone;
|
state.channel.fm.rxTone = state.channel.fm.txTone;
|
||||||
*sync_rtx = true;
|
*sync_rtx = true;
|
||||||
vp_announceCTCSS(state.channel.fm.rxToneEn,
|
|
||||||
state.channel.fm.rxTone,
|
|
||||||
state.channel.fm.txToneEn,
|
|
||||||
state.channel.fm.txTone,
|
|
||||||
queueFlags);
|
|
||||||
break;
|
break;
|
||||||
case CTCSS_Enabled:
|
case CTCSS_Enabled:
|
||||||
if (msg.keys & KEY_DOWN || msg.keys & KNOB_LEFT)
|
if (msg.keys & KEY_DOWN || msg.keys & KNOB_LEFT)
|
||||||
|
|
@ -2432,11 +2427,6 @@ void ui_updateFSM(bool *sync_rtx)
|
||||||
}
|
}
|
||||||
|
|
||||||
*sync_rtx = true;
|
*sync_rtx = true;
|
||||||
vp_announceCTCSS(state.channel.fm.rxToneEn,
|
|
||||||
state.channel.fm.rxTone,
|
|
||||||
state.channel.fm.txToneEn,
|
|
||||||
state.channel.fm.txTone,
|
|
||||||
queueFlags | vpqIncludeDescriptions);
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue