Don't use SPIM3 for LoRa on T-Echo

This commit is contained in:
Mark Qvist 2025-01-15 21:11:19 +01:00
parent ea33f0cba7
commit 733a792d72

View File

@ -88,8 +88,8 @@
#define FREQ_STEP_6X (double)(XTAL_FREQ_6X / FREQ_DIV_6X)
#if BOARD_MODEL == BOARD_TECHO
SPIClass spim3 = SPIClass(NRF_SPIM3, pin_miso, pin_sclk, pin_mosi) ;
#define SPI spim3
SPIClass spim0 = SPIClass(NRF_SPIM0, pin_miso, pin_sclk, pin_mosi) ;
#define SPI spim0
#elif defined(NRF52840_XXAA)
extern SPIClass spiModem;