aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/PinMap.h
diff options
context:
space:
mode:
authorJean-François Milants <jf@codingfield.com>2023-05-18 15:19:44 +0200
committerJF <JF002@users.noreply.github.com>2023-06-04 17:22:27 +0200
commit9bd90c906e0c738836976cad5328bfae36393e7e (patch)
treee4859ec0a19743ac3c3d2be47eb7b08934822dcd /src/drivers/PinMap.h
parent62848b33fb3df756fea17f31c818cd6de7a85b34 (diff)
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.
Diffstat (limited to 'src/drivers/PinMap.h')
-rw-r--r--src/drivers/PinMap.h1
1 files changed, 1 insertions, 0 deletions
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;