variants\tbeam\variant.h: Use LORA_CS instead of RF95_NSS

This commit is contained in:
Ihor Nehrutsa 2022-11-23 13:06:49 +02:00
parent 0f4261d02f
commit 8d225ced9c

View File

@ -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