Sansa ClipZip add Display type to debug update comment on LCD controller

display display type 0 / 1 in debug menu

update the comment on type 1 lcd I believe it to be a LDT LD7134 controller
the commands match up down to the gamma correction tables

Change-Id: Ic5d1d8db994a022a61db4a83a9f476cfafbcf51b
This commit is contained in:
William Wilgus 2026-06-13 12:56:55 -04:00
parent 4d773a3329
commit f07e977d7c
2 changed files with 5 additions and 1 deletions

View file

@ -330,6 +330,10 @@ bool dbg_hw_info(void)
defined(SANSA_CLIPZIP)
lcd_putsf(x, line++, "AMSv2 variant %d", amsv2_variant);
#endif
#if defined(SANSA_CLIPZIP)
lcd_putsf(x, line++, "Display type %d", GPIOB_PIN(3) ? 1 : 0);
#endif
}
while(dbg_btn(&done, &x))
{

View file

@ -177,7 +177,7 @@ static void lcd_write_nibbles(uint8_t val)
}
/* Initialises lcd type 1
* This appears to be a Visionox OLED display, with an unknown controller
* This appears to be a Visionox OLED display, with a LDT LD7134 controller
*/
static void lcd_init_type1(void)
{