-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Koch sequence not memorized ! #34
Comments
looks like that in the writePreferences function something got mixed up .. the lcwoKochSeq is only saved to the morserino savestate - but never to a snapshot
it should be changed to this (like in v2.4) i think:
tried it out yesterday evening and it seems to work .. |
Thanks for pointing this out.
I am, currently preparing v. 4.0 (which will also support the new edition of M32 with the newer Heltec Module version 2.1), and I will incorporate that bug fix into that version.
Willi
… Am 11.12.2020 um 08:01 schrieb Rainer Rudigier ***@***.***>:
looks like that in the writePreferences function something got mixed up ..
the lcwoKochSeq is only saved to the morserino savestate - but never to a snapshot
if (morserino) {
if (MorsePreferences::kochFilter != pref.getUChar("kochFilter")) {
pref.putUChar("kochFilter", MorsePreferences::kochFilter);
if (!MorsePreferences::useCustomCharSet) // we update these only if we do not use a custom character set!
koch.setup();
}
if (MorsePreferences::lcwoKochSeq != pref.getBool("lcwoKochSeq")) {
pref.putBool("lcwoKochSeq", MorsePreferences::lcwoKochSeq);
koch.setKochChars(MorsePreferences::lcwoKochSeq);
if (!MorsePreferences::useCustomCharSet)
koch.setup();
}
}
it should be changed to this (like in v2.4) i think:
if (morserino) {
if (MorsePreferences::kochFilter != pref.getUChar("kochFilter")) {
pref.putUChar("kochFilter", MorsePreferences::kochFilter);
if (!MorsePreferences::useCustomCharSet) // we update these only if we do not use a custom character set!
koch.setup();
}
}
if (MorsePreferences::lcwoKochSeq != pref.getBool("lcwoKochSeq")) {
pref.putBool("lcwoKochSeq", MorsePreferences::lcwoKochSeq);
**if (morserino) {
koch.setKochChars(MorsePreferences::lcwoKochSeq);
if (!MorsePreferences::useCustomCharSet)
koch.setup();
}**
}
tried it out yesterday evening and it seems to work ..
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#34 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACZR72FY5GTDB662DMOYI5TSUG7UPANCNFSM4SHZMZVQ>.
|
thanks 73 de OE9RIR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On version 3.02 the Koch sequence LCWO can't memorized on snapshoot, after recall a snapshot the Koch sequence go to M32/ JLMC. the code looks correct in Write and readPreferences !
The text was updated successfully, but these errors were encountered: