Have morseLetter respect global playback setting

This commit is contained in:
Reed Nightingale 2020-01-21 22:07:11 -08:00
parent b0193ca762
commit 1c099663fc

View File

@ -57,6 +57,9 @@ static const PROGMEM struct Morse morse_table[] = {
};
static void morseLetter(char c, uint16_t dit_duration_ms){
if(!globalSettings.morseMenuOn){
return;
}
unsigned char mask = 0x80;
//handle space character as three dashes