mirror of
https://github.com/meshtastic/firmware.git
synced 2026-01-29 21:22:03 +00:00
use common param name SX126X_ANT_SW instead of the SX1262_ANT_SW
This commit is contained in:
@@ -126,7 +126,7 @@ static const uint8_t SCK = PIN_SPI_SCK;
|
||||
#define SX1262_DIO2 (30)
|
||||
#define SX126X_BUSY (33) // Supposed to be P0.18 but because of reworks, now on P0.31 (18)
|
||||
#define SX126X_RESET (34)
|
||||
// #define SX1262_ANT_SW (32 + 10)
|
||||
// #define SX126X_ANT_SW (32 + 10)
|
||||
#define SX126X_RXEN (14)
|
||||
#define SX126X_TXEN (31)
|
||||
#define SX126X_POWER_EN \
|
||||
|
||||
@@ -146,7 +146,7 @@ static const uint8_t SCK = PIN_SPI_SCK;
|
||||
#define SX1262_DIO2 (30)
|
||||
#define SX126X_BUSY (33) // Supposed to be P0.18 but because of reworks, now on P0.31 (18)
|
||||
#define SX126X_RESET (34)
|
||||
// #define SX1262_ANT_SW (32 + 10)
|
||||
// #define SX126X_ANT_SW (32 + 10)
|
||||
#define SX126X_RXEN (14)
|
||||
#define SX126X_TXEN (31)
|
||||
#define SX126X_POWER_EN \
|
||||
|
||||
@@ -144,7 +144,7 @@ static const uint8_t SCK = PIN_SPI_SCK;
|
||||
#define SX126X_DIO1 (32 + 6) // P1.06
|
||||
#define SX126X_BUSY (32 + 4) // P1.04
|
||||
#define SX126X_RESET (0 + 3) // P0.03
|
||||
#define SX1262_ANT_SW (32 + 10) // P1.10
|
||||
#define SX126X_ANT_SW (32 + 10) // P1.10
|
||||
|
||||
// To debug via the segger JLINK console rather than the CDC-ACM serial device
|
||||
// #define USE_SEGGER
|
||||
|
||||
@@ -134,7 +134,7 @@ static const uint8_t SCK = PIN_SPI_SCK;
|
||||
#define SX1262_DIO2 (26)
|
||||
#define SX126X_BUSY (31) // Supposed to be P0.18 but because of reworks, now on P0.31 (18)
|
||||
#define SX126X_RESET (17)
|
||||
// #define SX1262_ANT_SW (32 + 10)
|
||||
// #define SX126X_ANT_SW (32 + 10)
|
||||
#define SX126X_RXEN (22)
|
||||
#define SX126X_TXEN (24)
|
||||
#define SX126X_E22 // Indicates this SX1262 is inside of an ebyte E22 module and special config should be done for that
|
||||
|
||||
Reference in New Issue
Block a user