From 817edf254640e4311841dbd613b22defd83f238b Mon Sep 17 00:00:00 2001 From: Reed Nightingale Date: Wed, 1 Jan 2020 20:32:18 -0800 Subject: [PATCH] Display tone prior to loop, so that it's not just a blank screen --- ubitx_ui.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ubitx_ui.cpp b/ubitx_ui.cpp index 87775b3..4ac25ba 100644 --- a/ubitx_ui.cpp +++ b/ubitx_ui.cpp @@ -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())