diff --git a/Utilities.h b/Utilities.h index 1915e0b..aa36cd4 100644 --- a/Utilities.h +++ b/Utilities.h @@ -341,9 +341,9 @@ uint8_t boot_vector = 0x00; void led_id_off() { npset(0, 0, 0); } #elif BOARD_MODEL == BOARD_RAK4631 || BOARD_MODEL == BOARD_OPENCOM_XL void led_rx_on() { analogWrite(pin_led_rx, 1); } - void led_rx_off() { digitalWrite(pin_led_rx, LOW); } + void led_rx_off() { analogWrite(pin_led_rx, 0); } void led_tx_on() { analogWrite(pin_led_tx, 1); } - void led_tx_off() { digitalWrite(pin_led_tx, LOW); } + void led_tx_off() { analogWrite(pin_led_tx, 0); } void led_id_on() { } void led_id_off() { } #elif BOARD_MODEL == BOARD_HELTEC_T114