Update release builds to include T3S3 SX1280 PA

This commit is contained in:
Mark Qvist 2025-01-04 20:20:35 +01:00
parent b9cd4d7751
commit 217db4bcd3
5 changed files with 8 additions and 6 deletions

View file

@ -160,11 +160,11 @@ bool sx128x::preInit() {
// todo: check if this change causes issues on any platforms
#if MCU_VARIANT == MCU_ESP32
if (pin_sclk != -1 && pin_miso != -1 && pin_mosi != -1 && pin_cs != -1) {
#if BOARD_MODEL == BOARD_RNODE_NG_22 || BOARD_MODEL == BOARD_HELTEC32_V3 || BOARD_MODEL == BOARD_TDECK
SPI.begin(pin_sclk, pin_miso, pin_mosi, pin_cs);
} else {
#else
SPI.begin();
}
#endif
#else
SPI.begin();
#endif