summaryrefslogtreecommitdiff
path: root/src/drivers/display_init.cpp
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2023-06-19 15:47:04 +1000
committerjacqueline <me@jacqueline.id.au>2023-06-19 15:47:04 +1000
commit8fed966c96be9d18fe7be758ee6a49a62ebab125 (patch)
tree4542482371cfacd7e53f0498fecb48f708e4e646 /src/drivers/display_init.cpp
parentacccd822f0147147dd8b16f059578df073c088c2 (diff)
parent039272455acddbe446269ea4b6ef66f44f457f1e (diff)
downloadtangara-fw-8fed966c96be9d18fe7be758ee6a49a62ebab125.tar.gz
Merge branch 'main' of git.sr.ht:~jacqueline/tangara-fw
Diffstat (limited to 'src/drivers/display_init.cpp')
-rw-r--r--src/drivers/display_init.cpp2
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
};