mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-29 17:17:28 -04: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:
parent
0ba05fea5e
commit
2022fe137c
4 changed files with 116 additions and 90 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue