GUI: About menu: Add '[DEBUG]' text if code is build in debug mode

This commit is contained in:
Mario Hüttel 2020-06-15 22:00:47 +02:00
parent acbde24c2f
commit a7c91cee0e
1 changed files with 4 additions and 0 deletions

View File

@ -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");