mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-07-10 13:29:52 -04:00
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:
parent
4d773a3329
commit
f07e977d7c
2 changed files with 5 additions and 1 deletions
|
|
@ -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))
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue