Merge branch 'master' of github.com:markqvist/RNode_Firmware

This commit is contained in:
Mark Qvist 2024-01-21 19:01:35 +01:00
commit 577068da6a
2 changed files with 5 additions and 2 deletions

View File

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

View File

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