fix: button timeout (debounce)

This commit is contained in:
Luca 2024-04-20 19:49:11 +02:00
parent 0b9c5db605
commit ffc970b03e
1 changed files with 1 additions and 1 deletions

View File

@ -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