diff --git a/HamShield.cpp b/HamShield.cpp index 224ce68..6044f14 100644 --- a/HamShield.cpp +++ b/HamShield.cpp @@ -1299,7 +1299,7 @@ void HamShield::morseOut(char buffer[HAMSHIELD_MORSE_BUFFER_SIZE]) { /* Morse code lookup table */ -char HamShield::morseLookup(char letter) { +uint8_t HamShield::morseLookup(char letter) { uint8_t i; for(i = 0; i < MORSE_TABLE_LENGTH; i++) { #ifndef MORSE_TABLE_PROGMEM diff --git a/HamShield.h b/HamShield.h index 45949a1..3afac90 100644 --- a/HamShield.h +++ b/HamShield.h @@ -522,7 +522,7 @@ class HamShield { static void isr_ptt(); static void isr_reset(); void morseOut(char buffer[HAMSHIELD_MORSE_BUFFER_SIZE]); - char morseLookup(char letter); + uint8_t morseLookup(char letter); bool waitForChannel(long timeout, long breakwindow, int setRSSI); void SSTVVISCode(int code); void SSTVTestPattern(int code);