Fix issue #40 where main screen banner is overwritten by decoded CW after switching off CW decoder.

pull/41/head
guido 2020-11-11 18:16:22 +01:00
rodzic 78b5d027a7
commit 1b34e8a93b
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -4138,7 +4138,7 @@ void loop()
if((mode == CW) && cwdec) cw_decode(); // if(!(semi_qsk_timeout)) cw_decode(); else dec2();
if(menumode == 0){ // in main
if(cw_event){
if((cw_event) && (cwdec)){
cw_event = false;
uint8_t offset = (smode) ? (smode == 1) ? 7 : (smode == 2) ? 3 : (smode == 3) ? 5 : 3 : 0; // depending on smeter more/less cw-text
lcd.noCursor(); lcd.setCursor(0, 0); lcd.print(out + offset); stepsize_showcursor();