mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2025-07-30 18:08:43 -04:00
Fix nRF52 compilation error
This commit is contained in:
parent
fe563fac29
commit
cce8b0c18a
2 changed files with 5 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue