mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-04 05:49:01 +00:00
Improve Select button response when Long Press is enabled during CPU-intensive apps (WFM) (#1304)
* Long press * Long-press improvement during CPU-intensive apps * Long-press improvement during CPU-intensive apps
This commit is contained in:
@@ -228,6 +228,7 @@ void controls_init() {
|
||||
switch_debounce[toUType(i)].enable_repeat();
|
||||
}
|
||||
|
||||
// Note: Called by event handler or apps, not in ISR, so some presses might be missed during high CPU utilization
|
||||
SwitchesState get_switches_state() {
|
||||
SwitchesState result;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user