|
@@ -262,10 +262,10 @@ void Driver::GUI_Show(std::string bat)
|
|
{
|
|
{
|
|
strcpy(buffer, "No IP");
|
|
strcpy(buffer, "No IP");
|
|
}
|
|
}
|
|
- GUI_DisString_EN(0, 20, char_ip, &Font12, FONT_BACKGROUND, WHITE);
|
|
|
|
- GUI_DisString_EN(20, 20, buffer, &Font12, FONT_BACKGROUND, WHITE);
|
|
|
|
- GUI_DisString_EN(0, 40, char_bat, &Font12, FONT_BACKGROUND, WHITE);
|
|
|
|
- GUI_DisString_EN(26, 40, bat.c_str(), &Font12, FONT_BACKGROUND, WHITE);
|
|
|
|
|
|
+ GUI_DisString_EN(10, 15, char_ip, &Font12, FONT_BACKGROUND, WHITE);
|
|
|
|
+ GUI_DisString_EN(30, 15, buffer, &Font12, FONT_BACKGROUND, WHITE);
|
|
|
|
+ GUI_DisString_EN(10, 35, char_bat, &Font12, FONT_BACKGROUND, WHITE);
|
|
|
|
+ GUI_DisString_EN(36, 35, bat.c_str(), &Font12, FONT_BACKGROUND, WHITE);
|
|
OLED_Display();
|
|
OLED_Display();
|
|
}
|
|
}
|
|
|
|
|