Change LED warning to show on RX LED instead

This commit is contained in:
jacob.eva 2024-07-11 21:52:49 +01:00
parent a014d25937
commit 61aeab002c
No known key found for this signature in database
GPG Key ID: 0B92E083BBCCAA1E

View File

@ -350,13 +350,13 @@ void led_indicate_warning(int cycles) {
bool forever = (cycles == 0) ? true : false;
cycles = forever ? 1 : cycles;
while(cycles > 0) {
led_tx_off();
led_rx_off();
delay(100);
led_tx_on();
led_rx_on();
delay(100);
if (!forever) cycles--;
}
led_tx_off();
led_rx_off();
}
#endif
#endif