mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2025-06-13 17:23:01 -04:00
Fix TCX0 and fix SPI default being set incorrectly
This commit is contained in:
parent
e590dd8b19
commit
4ce534d1c3
2 changed files with 3 additions and 1 deletions
2
Boards.h
2
Boards.h
|
@ -1010,7 +1010,7 @@
|
||||||
const bool interface_cfg[INTERFACE_COUNT][3] = {
|
const bool interface_cfg[INTERFACE_COUNT][3] = {
|
||||||
// SX1262
|
// SX1262
|
||||||
{
|
{
|
||||||
true, // DEFAULT_SPI
|
false, // DEFAULT_SPI
|
||||||
true, // HAS_TCXO
|
true, // HAS_TCXO
|
||||||
true // DIO2_AS_RF_SWITCH
|
true // DIO2_AS_RF_SWITCH
|
||||||
},
|
},
|
||||||
|
|
|
@ -711,6 +711,8 @@ void sx126x::enableTCXO() {
|
||||||
uint8_t buf[4] = {MODE_TCXO_1_8V_6X, 0x00, 0x00, 0xFF};
|
uint8_t buf[4] = {MODE_TCXO_1_8V_6X, 0x00, 0x00, 0xFF};
|
||||||
#elif BOARD_MODEL == BOARD_HELTEC_T114
|
#elif BOARD_MODEL == BOARD_HELTEC_T114
|
||||||
uint8_t buf[4] = {MODE_TCXO_1_8V_6X, 0x00, 0x00, 0xFF};
|
uint8_t buf[4] = {MODE_TCXO_1_8V_6X, 0x00, 0x00, 0xFF};
|
||||||
|
#elif BOARD_MODEL == BOARD_E22_ESP32
|
||||||
|
uint8_t buf[4] = {MODE_TCXO_1_8V_6X, 0x00, 0x00, 0xFF};
|
||||||
#else
|
#else
|
||||||
uint8_t buf[4] = {0};
|
uint8_t buf[4] = {0};
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue