From 1e00e73cff8cbc6df8321acf858d6343212ee44d Mon Sep 17 00:00:00 2001 From: baltevl Date: Mon, 12 Jun 2023 22:08:48 +0200 Subject: [PATCH] main: add missing argument in lcd driver constructor call. As of InfiniTimeOrg/InfiniTime#1758 ST7789 driver constructor has a pinReset argument. Update the InfiniTime submodule to the state after the update of the ST7789 driver. Fixes: https://github.com/InfiniTimeOrg/InfiniSim/issues/107 --- InfiniTime | 2 +- main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/InfiniTime b/InfiniTime index 020a7fd..f057894 160000 --- a/InfiniTime +++ b/InfiniTime @@ -1 +1 @@ -Subproject commit 020a7fd11d1b18fd7ac29ccc00b9c6f6e0cdb17b +Subproject commit f057894d2670712c316f69bd9aa3a66275a8b3e5 diff --git a/main.cpp b/main.cpp index 7d7e029..9962fcb 100644 --- a/main.cpp +++ b/main.cpp @@ -313,7 +313,7 @@ Pinetime::Drivers::SpiMaster spi {Pinetime::Drivers::SpiMaster::SpiModule::SPI0, Pinetime::PinMap::SpiMiso}}; Pinetime::Drivers::Spi lcdSpi {spi, Pinetime::PinMap::SpiLcdCsn}; -Pinetime::Drivers::St7789 lcd {lcdSpi, Pinetime::PinMap::LcdDataCommand}; +Pinetime::Drivers::St7789 lcd {lcdSpi, Pinetime::PinMap::LcdDataCommand, Pinetime::PinMap::LcdReset}; Pinetime::Drivers::Spi flashSpi {spi, Pinetime::PinMap::SpiFlashCsn}; Pinetime::Drivers::SpiNorFlash spiNorFlash {"spiNorFlash.raw"};