Refactoring
This commit is contained in:
@@ -910,12 +910,12 @@ void UI_DisplayMenu(void)
|
||||
case MENU_SET_CTR:
|
||||
sprintf(String, "%d", gSubMenuSelection);
|
||||
gSetting_set_ctr = gSubMenuSelection;
|
||||
ST7565_Contrast();
|
||||
ST7565_ContrastAndInv();
|
||||
break;
|
||||
|
||||
case MENU_SET_INV:
|
||||
strcpy(String, gSubMenu_OFF_ON[gSubMenuSelection]);
|
||||
ST7565_Contrast();
|
||||
ST7565_ContrastAndInv();
|
||||
break;
|
||||
#endif
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ void UI_DisplayWelcome(void)
|
||||
UI_PrintString(WelcomeString1, 0, 127, 2, 10);
|
||||
|
||||
#ifdef ENABLE_FEAT_F4HWN
|
||||
ST7565_Contrast();
|
||||
ST7565_ContrastAndInv();
|
||||
UI_PrintStringSmallNormal(Version, 0, 128, 5);
|
||||
UI_PrintStringSmallNormal(Feat, 0, 128, 6);
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user