mirror of
https://github.com/lumapu/ahoy.git
synced 2025-08-06 09:58:23 +02:00
monodpy: show values also if nothing changed
This commit is contained in:
parent
a3261ae4f6
commit
c8a739c46d
1 changed files with 5 additions and 1 deletions
|
@ -77,10 +77,14 @@ class MonochromeDisplay {
|
||||||
}
|
}
|
||||||
|
|
||||||
void tickerSecond() {
|
void tickerSecond() {
|
||||||
if(mNewPayload) {
|
static int cnt=1;
|
||||||
|
if(mNewPayload || !(cnt % 10)) {
|
||||||
|
cnt=1;
|
||||||
mNewPayload = false;
|
mNewPayload = false;
|
||||||
DataScreen();
|
DataScreen();
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
cnt++;
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue