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

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

View File

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