oe1wkl / Morserino-32

Morserino-32 multi-functional Morse code machine, based on ESP32

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem with „Length Abbrev“ setting

beedaddy opened this issue · comments

I noticed that the maximum length of the cw abbreviations does not correspond to the corresponding setting. For example, I have set „Length abbrev“ to 2 but all of the abbreviations in Koch Trainer - Echo Trainer - CW Abbrev have only the length of 1. But if I set „Length abbrev“ to 3, the echo trainer shows words with the max. length of 2. Is it possible that the corresponding setting is unintentionally exclusive the given number (i.e. < instead of ≤)?

Using firmware v5.0.

(I only skimmed the code, but in the context I noticed that the Arduino random function says: A random number between min and max-1. ;) )

Fixed with version 5.0.1. Thanks a lot!