mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-10-17 13:26:18 +00:00
fix wrong cast in morse app (#2436)
* fix wrong cast * sorry, forgot to use enum
This commit is contained in:

committed by
GitHub

parent
84dcfe29a7
commit
55525ed4ad
@@ -232,9 +232,8 @@ MorseView::MorseView(
|
||||
set_foxhunt(foxhunt_code);
|
||||
};
|
||||
|
||||
options_modulation.on_change = [this](size_t i, int32_t value) {
|
||||
(void)i; // avoid unused warning
|
||||
mode_cw = (bool)value;
|
||||
options_modulation.on_change = [this](size_t, OptionsField::value_t v) {
|
||||
mode_cw = (bool)v;
|
||||
};
|
||||
|
||||
options_loop.on_change = [this](size_t i, uint32_t value) {
|
||||
|
Reference in New Issue
Block a user