mirror of
https://github.com/markqvist/RNode_Firmware.git
synced 2025-05-03 15:14:51 -04:00
Update release builds to include T3S3 SX1280 PA
This commit is contained in:
parent
b9cd4d7751
commit
217db4bcd3
5 changed files with 8 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue