mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-08-18 13:44:00 +00:00
Finally found what was eating all the RAM :D
Re-enabled the tone key selector in Soundboard Soundboard now uses OutputStream, like Replay Constexpr'd a bunch of consts which were going to BSS section Exiting an app now goes back to main menu Cleaned up Message array
This commit is contained in:
@@ -78,7 +78,7 @@ size_t morse_encode(std::string& message, const uint32_t time_unit_ms,
|
||||
// Setup tone "symbols"
|
||||
for (c = 0; c < 5; c++) {
|
||||
if (c < 2)
|
||||
delta = TONES_F2D(tone); // Dot and dash
|
||||
delta = TONES_F2D(tone, TONES_SAMPLERATE); // Dot and dash
|
||||
else
|
||||
delta = 0; // Pause
|
||||
|
||||
|
||||
Reference in New Issue
Block a user