Skip to content

Commit 243bf0b

Browse files
committed
MagTag SSD1680: make COLSTART_8 the default for unknown variants
1 parent 5a0ef54 commit 243bf0b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • ports/espressif/boards/adafruit_magtag_2.9_grayscale

ports/espressif/boards/adafruit_magtag_2.9_grayscale/board.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,9 +268,9 @@ static display_type_t detect_display_type(void) {
268268
switch (status) {
269269
case 0xff:
270270
return DISPLAY_IL0373;
271-
default: // who knows? Just guess.
272271
case 0x00:
273272
return DISPLAY_SSD1680_COLSTART_0;
273+
default: // unknown SSD1680 variant — assume newer panel needs colstart=8
274274
case 0x44:
275275
case 0xca:
276276
return DISPLAY_SSD1680_COLSTART_8;

0 commit comments

Comments
 (0)