Add extra space at end of message to workaround Jled bug.
This commit is contained in:
parent
40baa679e1
commit
2127d4a75a
|
@ -260,6 +260,7 @@ float wpm = 10;
|
||||||
float ms_per_dit = 1000 * (60 / (50 * wpm));
|
float ms_per_dit = 1000 * (60 / (50 * wpm));
|
||||||
int word_space_ms = ms_per_dit * 7;
|
int word_space_ms = ms_per_dit * 7;
|
||||||
// Hardcoding messages and WPM for now, will come back and make it more flexible.
|
// Hardcoding messages and WPM for now, will come back and make it more flexible.
|
||||||
|
// Extra space at the end to get around https://github.com/jandelgado/jled/issues/122 on cycle mode
|
||||||
MorseEffect morseEffectTEST("TEST TEST TEST DE W1CDN ", ms_per_dit);
|
MorseEffect morseEffectTEST("TEST TEST TEST DE W1CDN ", ms_per_dit);
|
||||||
MorseEffect morseEffectMOE("MOE ", ms_per_dit);
|
MorseEffect morseEffectMOE("MOE ", ms_per_dit);
|
||||||
MorseEffect morseEffectMOI("MOI ", ms_per_dit);
|
MorseEffect morseEffectMOI("MOI ", ms_per_dit);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user