mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-11-28 23:46:46 -05:00
parent
545dead1ca
commit
e88ab44f49
1 changed files with 4 additions and 5 deletions
|
|
@ -298,8 +298,8 @@ class MorseDecoder {
|
|||
time_unit_ms_ = (time_unit_ms_ * (1.0 - learning_factor)) + (new_time_unit * learning_factor);
|
||||
}
|
||||
|
||||
size_t morse_table_size_ = 42;
|
||||
MorseEntry morse_table_[42] = {
|
||||
size_t morse_table_size_ = 41;
|
||||
MorseEntry morse_table_[41] = {
|
||||
{".-", "A"},
|
||||
{"-...", "B"},
|
||||
{"-.-.", "C"},
|
||||
|
|
@ -337,13 +337,12 @@ class MorseDecoder {
|
|||
{"----.", "9"},
|
||||
{"-----", "0"},
|
||||
{".-.-.-", "."},
|
||||
{"--..-", "?"},
|
||||
{"..--..", "?"},
|
||||
{"-.-.--", "!"},
|
||||
{"--..-.", ","},
|
||||
{"--..--", ","},
|
||||
{"-...-", "="}};
|
||||
};
|
||||
|
||||
} // namespace ui::external_app::morse_practice
|
||||
|
||||
#endif // __MORSEDECODER_HPP__
|
||||
#endif // __MORSEDECODER_HPP__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue