|
@@ -186,7 +186,7 @@ char lcd_printPGM(const char* str) {
|
186
|
186
|
return n;
|
187
|
187
|
}
|
188
|
188
|
|
189
|
|
-static int8_t show_splashscreed = 2;
|
|
189
|
+static bool show_splashscreen = true;
|
190
|
190
|
|
191
|
191
|
static void lcd_implementation_init()
|
192
|
192
|
{
|
|
@@ -221,7 +221,7 @@ static void lcd_implementation_init()
|
221
|
221
|
|
222
|
222
|
u8g.firstPage();
|
223
|
223
|
do {
|
224
|
|
- if (show_splashscreed) {
|
|
224
|
+ if (show_splashscreen) {
|
225
|
225
|
u8g.drawBitmapP(offx, offy, START_BMPBYTEWIDTH, START_BMPHEIGHT, start_bmp);
|
226
|
226
|
lcd_setFont(FONT_MENU);
|
227
|
227
|
#ifndef STRING_SPLASH_LINE2
|
|
@@ -231,9 +231,9 @@ static void lcd_implementation_init()
|
231
|
231
|
u8g.drawStr(txt1X, u8g.getHeight() - DOG_CHAR_HEIGHT*3/2, STRING_SPLASH_LINE1);
|
232
|
232
|
u8g.drawStr(txt2X, u8g.getHeight() - DOG_CHAR_HEIGHT*1/2, STRING_SPLASH_LINE2);
|
233
|
233
|
#endif
|
234
|
|
- show_splashscreed--;
|
235
|
234
|
}
|
236
|
235
|
} while (u8g.nextPage());
|
|
236
|
+ show_splashscreen = false;
|
237
|
237
|
}
|
238
|
238
|
|
239
|
239
|
static void lcd_implementation_clear() { } // Automatically cleared by Picture Loop
|