diff options
| author | JF002 <JF002@users.noreply.github.com> | 2021-03-20 18:10:13 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-20 18:10:13 +0100 |
| commit | a3ff2e46ca9e663af864a2bd04b9afa3efbddfb8 (patch) | |
| tree | c497541343d2d98a37b8002b5dc5a057a5c77c8e /src/drivers/St7789.h | |
| parent | 463e60eb4efe13971b10005e48a81a13e649cb96 (diff) | |
| parent | dba7e47ac0aa475ea8d1eae1588b9c6db2d21373 (diff) | |
Merge pull request #240 from joaquimorg/ScreenCorruptionFIX
FIX screen corruption (Issue #213)
Diffstat (limited to 'src/drivers/St7789.h')
| -rw-r--r-- | src/drivers/St7789.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/drivers/St7789.h b/src/drivers/St7789.h index a487a952..2c6f9b6b 100644 --- a/src/drivers/St7789.h +++ b/src/drivers/St7789.h @@ -20,9 +20,7 @@ namespace Pinetime { void VerticalScrollDefinition(uint16_t topFixedLines, uint16_t scrollLines, uint16_t bottomFixedLines); void VerticalScrollStartAddress(uint16_t line); - - void BeginDrawBuffer(uint16_t x, uint16_t y, uint16_t width, uint16_t height); - void NextDrawBuffer(const uint8_t* data, size_t size); + void DrawBuffer(uint16_t x, uint16_t y, uint16_t width, uint16_t height, const uint8_t *data, size_t size); void DisplayOn(); void DisplayOff(); |
