display blanker added

This commit is contained in:
Verkehrsrot 2019-10-06 14:25:29 +02:00
parent f3ebb835af
commit 3e9fe65b2c

View File

@ -37,7 +37,7 @@ FONT_STRETCHED: 16x32px = 8 chars / line
// local Tag for logging
static const char TAG[] = __FILE__;
#define DISPLAY_PAGES (5) // number of paxcounter display pages
#define DISPLAY_PAGES (6) // number of paxcounter display pages
// settings for oled display library
#define USE_BACKBUFFER
@ -191,6 +191,7 @@ void draw_page(time_t t, uint8_t page) {
// page 2: GPS
// page 3: BME280/680
// page 4: time
// page 5: blank screen
// page 0: parameters overview
case 0:
@ -325,6 +326,12 @@ void draw_page(time_t t, uint8_t page) {
second(t));
break;
// page 5: blank screen
case 5:
oledFill(0, 1);
break;
default:
break; // default