Backup and restore vertical scroll offset when goind to sleep/wakeup to avoid scrambled display on wake-up.

This commit is contained in:
JF committed 2020-03-11 21:35:06 +01:00
1 parent b279c99488
commit a91c68c931
4 files changed
+12 -9

No files matched your search

+1
View File
@@ -31,6 +31,7 @@ namespace Pinetime {
private:
SpiMaster& spi;
uint8_t pinDataCommand;
uint8_t verticalScrollingStartAddress = 0;
void HardwareReset();
void SoftwareReset();