use common param name SX126X_ANT_SW instead of the SX1262_ANT_SW

This commit is contained in:
Vladislav Osmanov
2021-09-14 12:25:25 +03:00
parent cb42440963
commit 56dd3eab23
5 changed files with 8 additions and 14 deletions

View File

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