From 537597d6d13b52ddc76464c2a7e8974bd27f63df Mon Sep 17 00:00:00 2001 From: Gunnar Skjold Date: Wed, 19 Oct 2022 20:30:29 +0200 Subject: [PATCH] Expanding size of daily and monthly data points --- src/AmsDataStorage.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/AmsDataStorage.h b/src/AmsDataStorage.h index f113c6cc..f542bc99 100644 --- a/src/AmsDataStorage.h +++ b/src/AmsDataStorage.h @@ -7,20 +7,20 @@ struct DayDataPoints { uint8_t version; - int16_t hImport[24]; + uint16_t hImport[24]; time_t lastMeterReadTime; uint32_t activeImport; uint32_t activeExport; - int16_t hExport[24]; + uint16_t hExport[24]; }; // 112 bytes struct MonthDataPoints { uint8_t version; - int16_t dImport[31]; + uint16_t dImport[31]; time_t lastMeterReadTime; uint32_t activeImport; uint32_t activeExport; - int16_t dExport[31]; + uint16_t dExport[31]; }; // 141 bytes class AmsDataStorage {