remove second initSPI() (#6140)

This commit is contained in:
Woutvstk
2025-02-24 12:45:44 +01:00
committed by GitHub
parent e67b84ee06
commit 372b62aa35

View File

@@ -611,8 +611,7 @@ void setup()
i2cScanner.reset(); i2cScanner.reset();
#endif #endif
// Init our SPI controller (must be before screen and lora) // initSPI() must have called at this point (must be before screen and lora)
initSPI();
#ifdef HAS_SDCARD #ifdef HAS_SDCARD
setupSDCard(); setupSDCard();