Browse Source

used INVERTERTYPE:: instead of mInverter[0] for global setup

pull/1465/head
you69man 1 year ago
parent
commit
363aac5d02
  1. 4
      src/hm/hmSystem.h

4
src/hm/hmSystem.h

@ -16,8 +16,8 @@ class HmSystem {
HmSystem() {} HmSystem() {}
void setup(uint32_t *timestamp, cfgInst_t *config, IApp *app) { void setup(uint32_t *timestamp, cfgInst_t *config, IApp *app) {
mInverter[0].timestamp = timestamp; INVERTERTYPE::timestamp = timestamp;
mInverter[0].generalConfig = config; INVERTERTYPE::generalConfig = config;
//mInverter[0].app = app; //mInverter[0].app = app;
} }

Loading…
Cancel
Save