Fix TCX0 and fix SPI default being set incorrectly

This commit is contained in:
tomuk5 2025-04-29 10:02:14 +01:00
parent e590dd8b19
commit 4ce534d1c3
2 changed files with 3 additions and 1 deletions

View file

@ -711,6 +711,8 @@ void sx126x::enableTCXO() {
uint8_t buf[4] = {MODE_TCXO_1_8V_6X, 0x00, 0x00, 0xFF};
#elif BOARD_MODEL == BOARD_HELTEC_T114
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
uint8_t buf[4] = {0};
#endif