From 1c7dbfc4b6a38af18d8b55dd38d4a5bdb8bebf2b Mon Sep 17 00:00:00 2001 From: Stephen Olesen Date: Tue, 30 Jun 2015 15:17:07 -0600 Subject: [PATCH] Correct the return time on morseLookup to be more obvious it's binary. --- HamShield.cpp | 2 +- HamShield.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);