GUI: About menu: Add '[DEBUG]' text if code is build in debug mode
This commit is contained in:
parent
acbde24c2f
commit
a7c91cee0e
@ -155,7 +155,11 @@ static void reflow_menu_about(struct lcd_menu *menu, enum menu_entry_func_entry
|
||||
if (strlen(xstr(GIT_VER)) > LCD_CHAR_WIDTH) {
|
||||
menu_lcd_outputf(menu, 2, "%s", &xstr(GIT_VER)[LCD_CHAR_WIDTH]);
|
||||
}
|
||||
#ifdef DEBUGBUILD
|
||||
menu_lcd_output(menu, 3, "Page 2/5 [DEBUG]");
|
||||
#else
|
||||
menu_lcd_output(menu, 3, "Page 2/5");
|
||||
#endif
|
||||
break;
|
||||
case 2:
|
||||
menu_lcd_output(menu, 0, "Compile Info");
|
||||
|
Loading…
Reference in New Issue
Block a user