Oops - I mismerged at somepoint, restore correct PPR variant.h defs

1.2-legacy
geeksville 2020-08-03 11:05:24 -07:00
rodzic 12bf3795ea
commit cb1053850d
1 zmienionych plików z 19 dodań i 1 usunięć

Wyświetl plik

@ -128,7 +128,25 @@ static const uint8_t SCK = PIN_SPI_SCK;
#define PIN_WIRE_SDA (32 + 2) #define PIN_WIRE_SDA (32 + 2)
#define PIN_WIRE_SCL (32) #define PIN_WIRE_SCL (32)
#define GPS_I2C_ADDR FIXME // CUSTOM GPIOs the SX1262
#define SX1262_CS (10)
#define SX1262_DIO1 (20)
#define SX1262_DIO2 (26)
#define SX1262_BUSY (31) // Supposed to be P0.18 but because of reworks, now on P0.31 (18)
#define SX1262_RESET (17)
// #define SX1262_ANT_SW (32 + 10)
#define SX1262_RXEN (22)
#define SX1262_TXEN (24)
#define SX1262_E22 // Indicates this SX1262 is inside of an ebyte E22 module and special config should be done for that
// ERC12864-10 LCD
#define ERC12864_CS (32 + 4)
#define ERC12864_RESET (32 + 6)
#define ERC12864_CD (32 + 9)
// L80 GPS
#define L80_PPS (28)
#define L80_RESET (29)
#ifdef __cplusplus #ifdef __cplusplus
} }