mirror of
https://github.com/meshtastic/firmware.git
synced 2026-01-27 04:02:05 +00:00
Generalise SPI pin names (#2970)
* Generalise SPI pin names * CS not NSS * trunk fmt * Update variant.h --------- Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
This commit is contained in:
@@ -66,14 +66,14 @@ static const uint8_t SCK = 33;
|
||||
#define LORA_DIO3 \
|
||||
RADIOLIB_NC // Not connected on PCB, but internally on the TTGO SX1262/SX1268, if DIO3 is high the TXCO is enabled
|
||||
|
||||
#undef RF95_SCK
|
||||
#define RF95_SCK SCK
|
||||
#undef RF95_MISO
|
||||
#define RF95_MISO MISO
|
||||
#undef RF95_MOSI
|
||||
#define RF95_MOSI MOSI
|
||||
#undef RF95_NSS
|
||||
#define RF95_NSS SS
|
||||
#undef LORA_SCK
|
||||
#define LORA_SCK SCK
|
||||
#undef LORA_MISO
|
||||
#define LORA_MISO MISO
|
||||
#undef LORA_MOSI
|
||||
#define LORA_MOSI MOSI
|
||||
#undef LORA_CS
|
||||
#define LORA_CS SS
|
||||
|
||||
#define USE_SX1262
|
||||
#define SX126X_CS SS // NSS for SX126X
|
||||
|
||||
Reference in New Issue
Block a user