mirror of
https://github.com/ravinrabbid/DonCon2040.git
synced 2024-11-20 03:37:07 +01:00
Fix Debounce delay on-screen menu
This commit is contained in:
parent
3d217e5729
commit
4244a4ff17
@ -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 = {
|
||||
|
@ -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}}, //
|
||||
|
Loading…
Reference in New Issue
Block a user