mirror of
https://github.com/markqvist/RNode_Firmware.git
synced 2025-05-04 15:45:04 -04:00
Always use external crystal oscillator on SX1280
This commit is contained in:
parent
2b93b1b9e7
commit
9c7a04b66c
1 changed files with 1 additions and 3 deletions
|
@ -594,9 +594,7 @@ void sx128x::receive(int size) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void sx128x::standby() {
|
void sx128x::standby() {
|
||||||
uint8_t byte;
|
uint8_t byte = 0x01; // Always use STDBY_XOSC
|
||||||
if (_tcxo) { byte = 0x01; } // STDBY_XOSC
|
|
||||||
else { byte = 0x00; } // STDBY_RC
|
|
||||||
executeOpcode(OP_STANDBY_8X, &byte, 1);
|
executeOpcode(OP_STANDBY_8X, &byte, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue