mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-30 01:06:11 +02:00
0.8.51
* fix translation #1346 * further improve sending active power control command faster #1332 * added history protection mask
This commit is contained in:
parent
e4cb948be4
commit
76fa30503d
15 changed files with 41 additions and 69 deletions
|
@ -53,7 +53,7 @@ void app::setup() {
|
|||
mCommunication.setup(&mTimestamp, &mConfig->serial.debug, &mConfig->serial.privacyLog, &mConfig->serial.printWholeTrace, &mConfig->inst.gapMs);
|
||||
mCommunication.addPayloadListener(std::bind(&app::payloadEventListener, this, std::placeholders::_1, std::placeholders::_2));
|
||||
mCommunication.addPowerLimitAckListener([this] (Inverter<> *iv) { mMqtt.setPowerLimitAck(iv); });
|
||||
mSys.setup(&mTimestamp, &mConfig->inst);
|
||||
mSys.setup(&mTimestamp, &mConfig->inst, this);
|
||||
for (uint8_t i = 0; i < MAX_NUM_INVERTERS; i++) {
|
||||
initInverter(i);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue