mirror of
https://github.com/lumapu/ahoy.git
synced 2025-08-03 16:38:20 +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() {
|
||||
if(mNewPayload) {
|
||||
static int cnt=1;
|
||||
if(mNewPayload || !(cnt % 10)) {
|
||||
cnt=1;
|
||||
mNewPayload = false;
|
||||
DataScreen();
|
||||
}
|
||||
else
|
||||
cnt++;
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue