Display tone prior to loop, so that it's not just a blank screen

This commit is contained in:
Reed Nightingale 2020-01-01 20:32:18 -08:00
parent 224fb496cd
commit 817edf2546

View File

@ -791,6 +791,11 @@ void setCwTone(){
int prev_sideTone;
tone(CW_TONE, sideTone);
itoa(sideTone, c, 10);
strcpy(b, "CW Tone: ");
strcat(b, c);
strcat(b, " Hz");
drawCommandbar(b);
//disable all clock 1 and clock 2
while (digitalRead(PTT) == HIGH && !btnDown())