[Morse] Fix typo
This commit is contained in:
parent
8fd0a67a78
commit
498c5d5e22
1 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ char MorseClient::decode(uint8_t symbol, uint8_t len) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// nothing found
|
// nothing found
|
||||||
return(RADIOLIB_MORSE_UNSUPORTED);
|
return(RADIOLIB_MORSE_UNSUPPORTED);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !defined(RADIOLIB_EXCLUDE_AFSK)
|
#if !defined(RADIOLIB_EXCLUDE_AFSK)
|
||||||
|
@ -132,7 +132,7 @@ size_t MorseClient::write(uint8_t b) {
|
||||||
uint8_t code = RADIOLIB_NONVOLATILE_READ_BYTE(&MorseTable[(uint8_t)(toupper(b) - RADIOLIB_MORSE_ASCII_OFFSET)]);
|
uint8_t code = RADIOLIB_NONVOLATILE_READ_BYTE(&MorseTable[(uint8_t)(toupper(b) - RADIOLIB_MORSE_ASCII_OFFSET)]);
|
||||||
|
|
||||||
// check unsupported characters
|
// check unsupported characters
|
||||||
if(code == RADIOLIB_MORSE_UNSUPORTED) {
|
if(code == RADIOLIB_MORSE_UNSUPPORTED) {
|
||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue