mirror of
https://github.com/markqvist/RNode_Firmware.git
synced 2024-10-01 03:15:39 -04:00
Merge branch 'master' of github.com:markqvist/RNode_Firmware
This commit is contained in:
commit
577068da6a
1
Config.h
1
Config.h
@ -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
|
||||
pinMode(pin_tcxo_enable, OUTPUT);
|
||||
digitalWrite(pin_tcxo_enable, HIGH);
|
||||
if (pin_tcxo_enable != -1) {
|
||||
pinMode(pin_tcxo_enable, OUTPUT);
|
||||
digitalWrite(pin_tcxo_enable, HIGH);
|
||||
}
|
||||
#endif
|
||||
|
||||
// Initialise buffers
|
||||
|
Loading…
Reference in New Issue
Block a user