Fixed issue when graphs go blank if meter clock is running fast

This commit is contained in:
Gunnar Skjold
2024-06-29 10:18:24 +02:00
parent de79fd4c43
commit 2b779920d7
3 changed files with 108 additions and 31 deletions

View File

@@ -61,7 +61,7 @@ public:
AmsDataStorage(Stream*);
#endif
void setTimezone(Timezone*);
bool update(AmsData*);
bool update(AmsData* data, time_t now);
uint32_t getHourImport(uint8_t);
uint32_t getHourExport(uint8_t);
uint32_t getDayImport(uint8_t);