From 9bd90c906e0c738836976cad5328bfae36393e7e Mon Sep 17 00:00:00 2001 From: Jean-François Milants Date: Thu, 18 May 2023 15:19:44 +0200 Subject: Power optimization - Improve SPI sleep mode ST7789 driver : replace the constant '26' with a named constant to specify the pin number of the reset pin of the LCD controller. --- src/drivers/PinMap.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/drivers/PinMap.h') diff --git a/src/drivers/PinMap.h b/src/drivers/PinMap.h index a70cfc41..238b965d 100644 --- a/src/drivers/PinMap.h +++ b/src/drivers/PinMap.h @@ -34,6 +34,7 @@ namespace Pinetime { static constexpr uint8_t SpiFlashCsn = 5; static constexpr uint8_t SpiLcdCsn = 25; static constexpr uint8_t LcdDataCommand = 18; + static constexpr uint8_t LcdReset = 26; static constexpr uint8_t TwiScl = 7; static constexpr uint8_t TwiSda = 6; -- cgit v1.2.3-70-g09d2