mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-23 11:10:52 +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:
@@ -22,14 +22,14 @@
|
||||
#define LORA_RXEN 14 // Input - RF switch RX control, connecting external MCU IO, valid in high level
|
||||
#define LORA_TXEN 13 // Input - RF switch TX control, connecting external MCU IO or DIO2, valid in high level
|
||||
|
||||
#undef RF95_SCK
|
||||
#define RF95_SCK 18
|
||||
#undef RF95_MISO
|
||||
#define RF95_MISO 19
|
||||
#undef RF95_MOSI
|
||||
#define RF95_MOSI 23
|
||||
#undef RF95_NSS
|
||||
#define RF95_NSS 5
|
||||
#undef LORA_SCK
|
||||
#define LORA_SCK 18
|
||||
#undef LORA_MISO
|
||||
#define LORA_MISO 19
|
||||
#undef LORA_MOSI
|
||||
#define LORA_MOSI 23
|
||||
#undef LORA_CS
|
||||
#define LORA_CS 5
|
||||
|
||||
// RX/TX for RFM95/SX127x
|
||||
#define RF95_RXEN LORA_RXEN
|
||||
|
||||
Reference in New Issue
Block a user