From f1fd41a3782042fb1cb7ff00270bfa5e9bdf82dc Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Wed, 25 Jan 2023 11:48:11 -0600 Subject: [PATCH] Add to Eink target as well --- variants/rak4631_epaper/variant.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/variants/rak4631_epaper/variant.h b/variants/rak4631_epaper/variant.h index 9961abfa1..3d597d3d1 100644 --- a/variants/rak4631_epaper/variant.h +++ b/variants/rak4631_epaper/variant.h @@ -136,7 +136,7 @@ static const uint8_t SCK = PIN_SPI_SCK; // Controls power for the eink display - Board power is enabled either by VBUS from USB or the CPU asserting PWR_ON // FIXME - I think this is actually just the board power enable - it enables power to the CPU also -//#define PIN_EINK_PWR_ON (-1) +// #define PIN_EINK_PWR_ON (-1) #define USE_EINK @@ -181,8 +181,9 @@ static const uint8_t SCK = PIN_SPI_SCK; #define SX126X_DIO1 (47) #define SX126X_BUSY (46) #define SX126X_RESET (38) -#define SX126X_TXEN (39) -#define SX126X_RXEN (37) +// #define SX126X_TXEN (39) +// #define SX126X_RXEN (37) +#define SX126X_POWER_EN (37) #define SX126X_E22 // DIO2 controlls an antenna switch and the TCXO voltage is controlled by DIO3 // enables 3.3V periphery like GPS or IO Module