diff options
| author | Ailurux <ailuruxx@gmail.com> | 2023-06-19 11:19:41 +1000 |
|---|---|---|
| committer | Ailurux <ailuruxx@gmail.com> | 2023-06-19 11:19:41 +1000 |
| commit | 8ce751ad56c7efe19f835e3b6bbb1a843cef9119 (patch) | |
| tree | 5ff0f1400c841ce8d0253b622108d7d3be774658 /src/drivers | |
| parent | e12ac1d9632856237388614bf393c7338500e00a (diff) | |
| download | tangara-fw-8ce751ad56c7efe19f835e3b6bbb1a843cef9119.tar.gz | |
Change flag for correct colour setting
Diffstat (limited to 'src/drivers')
| -rw-r--r-- | src/drivers/display_init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/display_init.cpp b/src/drivers/display_init.cpp index ce70069c..c7eb5789 100644 --- a/src/drivers/display_init.cpp +++ b/src/drivers/display_init.cpp @@ -51,7 +51,7 @@ static const uint8_t kST7735RCommonHeader[]{ 0x0E, ST77XX_INVOFF, 0, // 13: Don't invert display, no args ST77XX_MADCTL, 1, // 14: Mem access ctl (directions), 1 arg: - 0xC8, // row/col addr, bottom-top refresh + 0xC0, // row/col addr, bottom-top refresh ST77XX_COLMOD, 1, // 15: set color mode, 1 arg, no delay: 0x05 }; |
