Fix nRF52 compilation error

master
jacob.eva 1 year ago
parent fe563fac29
commit cce8b0c18a
No known key found for this signature in database
GPG Key ID: B92E083BBCCAA1E
  1. 1
      Config.h
  2. 2
      RNode_Firmware.ino

@ -330,6 +330,7 @@
const int pin_dio = 47;
const int pin_led_rx = LED_BLUE;
const int pin_led_tx = LED_GREEN;
const int pin_tcxo_enable = -1;
#endif
#else
#error An unsupported board was selected. Cannot compile RNode firmware.

@ -73,8 +73,10 @@ void setup() {
#endif
#if HAS_TCXO == true
if (pin_tcxo_enable != -1) {
pinMode(pin_tcxo_enable, OUTPUT);
digitalWrite(pin_tcxo_enable, HIGH);
}
#endif
// Initialise buffers

Loading…
Cancel
Save