fix: button timeout (debounce)
This commit is contained in:
parent
0b9c5db605
commit
ffc970b03e
|
@ -15,7 +15,7 @@ use esp_hal::systimer::SystemTimer;
|
||||||
|
|
||||||
use panic_halt as _;
|
use panic_halt as _;
|
||||||
|
|
||||||
const BUTTON_TIMEOUT: u64 = SystemTimer::TICKS_PER_SECOND / 10;
|
const BUTTON_TIMEOUT: u64 = SystemTimer::TICKS_PER_SECOND / 5;
|
||||||
|
|
||||||
const COLORS: [[u8; 3]; 6] = [
|
const COLORS: [[u8; 3]; 6] = [
|
||||||
// G B R
|
// G B R
|
||||||
|
|
Loading…
Reference in New Issue