From 363aac5d0227a8c70d5a4d09c2cf37d83e43f140 Mon Sep 17 00:00:00 2001 From: you69man Date: Sun, 17 Dec 2023 12:11:49 +0100 Subject: [PATCH] used INVERTERTYPE:: instead of mInverter[0] for global setup --- src/hm/hmSystem.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hm/hmSystem.h b/src/hm/hmSystem.h index e9b839be..c4219435 100644 --- a/src/hm/hmSystem.h +++ b/src/hm/hmSystem.h @@ -16,8 +16,8 @@ class HmSystem { HmSystem() {} void setup(uint32_t *timestamp, cfgInst_t *config, IApp *app) { - mInverter[0].timestamp = timestamp; - mInverter[0].generalConfig = config; + INVERTERTYPE::timestamp = timestamp; + INVERTERTYPE::generalConfig = config; //mInverter[0].app = app; }