Sansa clip zip: show AMSv2 variant in debug menu

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30890 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Bertrik Sikken 2011-11-02 22:40:35 +00:00
parent 856fb705c2
commit 50211e2054

View file

@ -265,13 +265,15 @@ bool dbg_hw_info(void)
{ {
while(1) while(1)
{ {
#if defined(SANSA_C200V2) || defined(SANSA_FUZEV2) || defined(SANSA_CLIPPLUS) #if defined(SANSA_C200V2) || defined(SANSA_FUZEV2) || \
defined(SANSA_CLIPPLUS) || defined(SANSA_CLIPZIP)
lcd_clear_display(); lcd_clear_display();
line = 0; line = 0;
lcd_puts(0, line++, "[Submodel:]"); lcd_puts(0, line++, "[Submodel:]");
#if defined(SANSA_C200V2) #if defined(SANSA_C200V2)
lcd_putsf(0, line++, "C200v2 variant %d", c200v2_variant); lcd_putsf(0, line++, "C200v2 variant %d", c200v2_variant);
#elif defined(SANSA_FUZEV2) || defined(SANSA_CLIPPLUS) #elif defined(SANSA_FUZEV2) || defined(SANSA_CLIPPLUS) || \
defined(SANSA_CLIPZIP)
lcd_putsf(0, line++, "AMSv2 variant %d", amsv2_variant); lcd_putsf(0, line++, "AMSv2 variant %d", amsv2_variant);
#endif #endif
lcd_update(); lcd_update();