Skip to content

Commit a223d36

Browse files
authored
fix(st7789): Remove gamma configuration, relying on defaults (#380)
1 parent da990cd commit a223d36

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

components/display_drivers/include/st7789.hpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -163,12 +163,6 @@ class St7789 {
163163
{(uint8_t)Command::rgbctrl, {0x00, 0x1B}, 2},
164164
{0xF2, {0x08}, 1},
165165
{(uint8_t)Command::gamset, {0x01}, 1},
166-
{(uint8_t)Command::pvgamctrl,
167-
{0xD0, 0x00, 0x02, 0x07, 0x0A, 0x28, 0x32, 0x44, 0x42, 0x06, 0x0E, 0x12, 0x14, 0x17},
168-
14},
169-
{(uint8_t)Command::nvgamctrl,
170-
{0xD0, 0x00, 0x02, 0x07, 0x0A, 0x28, 0x31, 0x54, 0x47, 0x0E, 0x1C, 0x17, 0x1B, 0x1E},
171-
14},
172166
{(uint8_t)Command::caset, {0x00, 0x00, 0x00, 0xEF}, 4},
173167
{(uint8_t)Command::raset, {0x00, 0x00, 0x01, 0x3f}, 4},
174168
{(uint8_t)Command::ramwr, {0}, 0},

0 commit comments

Comments
 (0)