From 8d225ced9cbccb44d0b58451029b4bd073a8510e Mon Sep 17 00:00:00 2001 From: Ihor Nehrutsa Date: Wed, 23 Nov 2022 13:06:49 +0200 Subject: [PATCH] variants\tbeam\variant.h: Use LORA_CS instead of RF95_NSS --- variants/tbeam/variant.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/variants/tbeam/variant.h b/variants/tbeam/variant.h index fab210683..bbfa5e9da 100644 --- a/variants/tbeam/variant.h +++ b/variants/tbeam/variant.h @@ -21,9 +21,10 @@ #define LORA_DIO1 33 // SX1262 IRQ #define LORA_DIO2 32 // SX1262 BUSY #define LORA_DIO3 // Not connected on PCB, but internally on the TTGO SX1262, if DIO3 is high the TXCO is enabled +#define LORA_CS 18 #ifdef USE_SX1262 -#define SX126X_CS RF95_NSS // FIXME - we really should define LORA_CS instead +#define SX126X_CS LORA_CS #define SX126X_DIO1 LORA_DIO1 #define SX126X_BUSY LORA_DIO2 #define SX126X_RESET LORA_RESET