Commit 1fab14c7 authored by Sven Greiner's avatar Sven Greiner

Add simple button debouncing

parent 276167d2
......@@ -412,6 +412,8 @@ int main(void) {
}
}
} else { // User has tapped the power button
delay_10ms(4); // Simple button debounce
++fast_presses;
// Input handling
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment