From 18eb82e96cc40cd82c4d3cb378c98f1d7088dae2 Mon Sep 17 00:00:00 2001 From: Verkehrsrot Date: Mon, 20 Jan 2020 11:45:11 +0100 Subject: [PATCH] bugfix auto page flip --- src/display.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/display.cpp b/src/display.cpp index 0401b0cc..2260fb4f 100644 --- a/src/display.cpp +++ b/src/display.cpp @@ -151,7 +151,9 @@ void init_display(bool verbose) { void refreshTheDisplay(bool nextPage) { +#ifndef HAS_BUTTON static uint32_t framecounter = 0; +#endif // update histogram oledPlotCurve(macs.size(), false);