@@ -2943,22 +2943,44 @@ void displayNTPFail(uint16_t displayTime)
2943
2943
}
2944
2944
}
2945
2945
2946
- void displayConfigViaEthNotStarted (uint16_t displayTime)
2946
+ void displayConfigViaEthStarting (uint16_t displayTime)
2947
2947
{
2948
2948
if (online.display == true )
2949
2949
{
2950
2950
oled->erase ();
2951
2951
2952
- uint8_t fontHeight = 8 ;
2952
+ uint8_t fontHeight = 12 ;
2953
+ uint8_t yPos = fontHeight;
2954
+
2955
+ printTextCenter (" Configure" , yPos, QW_FONT_8X16, 1 , false ); // text, y, font type, kerning, inverted
2956
+ yPos += fontHeight;
2957
+ printTextCenter (" Via" , yPos, QW_FONT_8X16, 1 , false ); // text, y, font type, kerning, inverted
2958
+ yPos += fontHeight;
2959
+ printTextCenter (" Ethernet" , yPos, QW_FONT_8X16, 1 , false ); // text, y, font type, kerning, inverted
2960
+ yPos += fontHeight;
2961
+ printTextCenter (" Starting" , yPos, QW_FONT_8X16, 1 , false ); // text, y, font type, kerning, inverted
2962
+
2963
+ oled->display ();
2964
+
2965
+ delay (displayTime);
2966
+ }
2967
+ }
2968
+ void displayConfigViaEthExiting (uint16_t displayTime)
2969
+ {
2970
+ if (online.display == true )
2971
+ {
2972
+ oled->erase ();
2973
+
2974
+ uint8_t fontHeight = 12 ;
2953
2975
uint8_t yPos = fontHeight;
2954
2976
2955
- printTextCenter (" Configure" , yPos, QW_FONT_5X7 , 1 , false ); // text, y, font type, kerning, inverted
2977
+ printTextCenter (" Configure" , yPos, QW_FONT_8X16 , 1 , false ); // text, y, font type, kerning, inverted
2956
2978
yPos += fontHeight;
2957
- printTextCenter (" Via" , yPos, QW_FONT_5X7 , 1 , false ); // text, y, font type, kerning, inverted
2979
+ printTextCenter (" Via" , yPos, QW_FONT_8X16 , 1 , false ); // text, y, font type, kerning, inverted
2958
2980
yPos += fontHeight;
2959
- printTextCenter (" Ethernet" , yPos, QW_FONT_5X7 , 1 , false ); // text, y, font type, kerning, inverted
2981
+ printTextCenter (" Ethernet" , yPos, QW_FONT_8X16 , 1 , false ); // text, y, font type, kerning, inverted
2960
2982
yPos += fontHeight;
2961
- printTextCenter (" Restart " , yPos, QW_FONT_5X7 , 1 , true ); // text, y, font type, kerning, inverted
2983
+ printTextCenter (" Exiting " , yPos, QW_FONT_8X16 , 1 , false ); // text, y, font type, kerning, inverted
2962
2984
2963
2985
oled->display ();
2964
2986
@@ -2972,16 +2994,16 @@ void displayConfigViaEthStarted(uint16_t displayTime)
2972
2994
{
2973
2995
oled->erase ();
2974
2996
2975
- uint8_t fontHeight = 8 ;
2997
+ uint8_t fontHeight = 12 ;
2976
2998
uint8_t yPos = fontHeight;
2977
2999
2978
- printTextCenter (" Configure" , yPos, QW_FONT_5X7 , 1 , false ); // text, y, font type, kerning, inverted
3000
+ printTextCenter (" Configure" , yPos, QW_FONT_8X16 , 1 , false ); // text, y, font type, kerning, inverted
2979
3001
yPos += fontHeight;
2980
- printTextCenter (" Via" , yPos, QW_FONT_5X7 , 1 , false ); // text, y, font type, kerning, inverted
3002
+ printTextCenter (" Via" , yPos, QW_FONT_8X16 , 1 , false ); // text, y, font type, kerning, inverted
2981
3003
yPos += fontHeight;
2982
- printTextCenter (" Ethernet" , yPos, QW_FONT_5X7 , 1 , false ); // text, y, font type, kerning, inverted
3004
+ printTextCenter (" Ethernet" , yPos, QW_FONT_8X16 , 1 , false ); // text, y, font type, kerning, inverted
2983
3005
yPos += fontHeight;
2984
- printTextCenter (" Started" , yPos, QW_FONT_5X7 , 1 , false ); // text, y, font type, kerning, inverted
3006
+ printTextCenter (" Started" , yPos, QW_FONT_8X16 , 1 , false ); // text, y, font type, kerning, inverted
2985
3007
2986
3008
oled->display ();
2987
3009
0 commit comments