From 4d0e43922941a9eb411b0cd5dbaed912d455279d Mon Sep 17 00:00:00 2001 From: Daniel Thompson Date: Tue, 14 Jan 2020 21:01:23 +0000 Subject: [PATCH] boards: Alter the flashing rates Now it is slow for idle, fast for active... --- src/boards.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/boards.c b/src/boards.c index 0521b2b..7ad305a 100644 --- a/src/boards.c +++ b/src/boards.c @@ -269,18 +269,18 @@ void led_state(uint32_t state) case STATE_BLE_CONNECTED: new_rgb_color = 0x0000ff; #ifdef LED_SECONDARY_PIN - secondary_cycle_length = 3000; + secondary_cycle_length = 300; #else - primary_cycle_length = 3000; + primary_cycle_length = 300; #endif break; case STATE_BLE_DISCONNECTED: new_rgb_color = 0xff00ff; #ifdef LED_SECONDARY_PIN - secondary_cycle_length = 300; + secondary_cycle_length = 3000; #else - primary_cycle_length = 300; + primary_cycle_length = 3000; #endif break;