1
0
Fork 0

boards: Alter the flashing rates

Now it is slow for idle, fast for active...
wasp-os-next
Daniel Thompson 2020-01-14 21:01:23 +00:00
parent 9806b15d5c
commit 4d0e439229
1 changed files with 4 additions and 4 deletions

View File

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