mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-30 01:27:24 -04: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:
parent
3514a9a608
commit
ea238f4988
3 changed files with 43 additions and 31 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue