1
0
Fork 0

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
This commit is contained in:
baltevl 2023-06-12 22:08:48 +02:00 committed by Reinhold Gschweicher
parent e6dcf3f743
commit 1e00e73cff
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 020a7fd11d1b18fd7ac29ccc00b9c6f6e0cdb17b
Subproject commit f057894d2670712c316f69bd9aa3a66275a8b3e5

View file

@ -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"};