mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-10-10 08:30:50 +00:00
Morse TX bugfix: bad CW symbols, FM not stopping
Corrected fox hunt transmitter #s Moved widgets a bit Setting up proc_tones with 0 message length stops it
This commit is contained in:
@@ -44,7 +44,7 @@ size_t morse_encode(std::string& message, const uint32_t time_unit_ms,
|
||||
|
||||
i = 0;
|
||||
for (char& ch : message) {
|
||||
if (i > 256) return 0;
|
||||
if (i > 256) return 0; // Message too long
|
||||
|
||||
if ((ch >= 'a') && (ch <= 'z')) // Make uppercase
|
||||
ch -= 32;
|
||||
|
Reference in New Issue
Block a user