Fix Debounce delay on-screen menu

This commit is contained in:
Frederik Walk 2023-12-02 21:44:55 +01:00
parent 3d217e5729
commit 4244a4ff17
2 changed files with 6 additions and 6 deletions

View File

@ -32,10 +32,10 @@ const I2c i2c_config = {
const Peripherals::Drum::Config drum_config = {
// Pin config
{
2, // Don Left
3, // Ka Left
1, // Don Right
0, // Ka Right
1, // Don Left
0, // Ka Left
2, // Don Right
3, // Ka Right
},
// Trigger thresholds soft
{
@ -90,7 +90,7 @@ const Peripherals::Buttons::Config button_config = {
14, // Share
}},
20, // Debounce delay in milliseconds
25, // Debounce delay in milliseconds
};
const Peripherals::StatusLed::Config led_config = {

View File

@ -9,7 +9,7 @@ const std::map<Menu::Page, const Menu::Descriptor> Menu::descriptors = {
{{"Mode", Menu::Descriptor::Action::GotoPageDeviceMode}, //
{"Brightness", Menu::Descriptor::Action::GotoPageLedBrightness}, //
{"Sensitvty", Menu::Descriptor::Action::GotoPageTriggerThreshold}, //
{"DebnceDly", Menu::Descriptor::Action::GotoPageTriggerThreshold}, //
{"DebnceDly", Menu::Descriptor::Action::GotoPageDebounceDelay}, //
{"Reset", Menu::Descriptor::Action::GotoPageReset}, //
{"BOOTSEL", Menu::Descriptor::Action::GotoPageBootsel}}, //
0}}, //