Add support for LoRa32 v2.0
This commit is contained in:
10
Utilities.h
10
Utilities.h
@@ -42,10 +42,10 @@ uint8_t boot_vector = 0x00;
|
||||
void led_tx_on() { digitalWrite(pin_led_tx, LOW); }
|
||||
void led_tx_off() { digitalWrite(pin_led_tx, HIGH); }
|
||||
#elif BOARD_MODEL == BOARD_LORA32_V2_0
|
||||
// void led_rx_on() { digitalWrite(pin_led_rx, HIGH); }
|
||||
// void led_rx_off() { digitalWrite(pin_led_rx, LOW); }
|
||||
// void led_tx_on() { digitalWrite(pin_led_tx, LOW); }
|
||||
// void led_tx_off() { digitalWrite(pin_led_tx, HIGH); }
|
||||
void led_rx_on() { digitalWrite(pin_led_rx, HIGH); }
|
||||
void led_rx_off() { digitalWrite(pin_led_rx, LOW); }
|
||||
void led_tx_on() { digitalWrite(pin_led_tx, HIGH); }
|
||||
void led_tx_off() { digitalWrite(pin_led_tx, LOW); }
|
||||
#elif BOARD_MODEL == BOARD_LORA32_V2_1
|
||||
void led_rx_on() { digitalWrite(pin_led_rx, HIGH); }
|
||||
void led_rx_off() { digitalWrite(pin_led_rx, LOW); }
|
||||
@@ -955,4 +955,4 @@ inline uint16_t fifo16_len(FIFOBuffer16 *f) {
|
||||
PMU.setPowerOutPut(AXP192_LDO3, AXP202_OFF);
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user