From 733a792d72a33f8e8cd563419b368d7fa3733fa8 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Wed, 15 Jan 2025 21:11:19 +0100 Subject: [PATCH] Don't use SPIM3 for LoRa on T-Echo --- sx126x.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sx126x.cpp b/sx126x.cpp index 79bb8e7..f4c4c7c 100644 --- a/sx126x.cpp +++ b/sx126x.cpp @@ -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;