mirror of
https://github.com/markqvist/RNode_Firmware.git
synced 2025-02-05 01:15:23 -05:00
Always use external crystal oscillator on SX1280
This commit is contained in:
parent
2b93b1b9e7
commit
9c7a04b66c
@ -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…
x
Reference in New Issue
Block a user