mirror of
https://github.com/lumapu/ahoy.git
synced 2025-06-15 00:51:38 +02:00
0.8.970004-zero
This commit is contained in:
parent
f8cb7272b4
commit
0dae65bbd4
6 changed files with 1290 additions and 1269 deletions
|
@ -93,6 +93,11 @@ void app::setup() {
|
|||
mZeroExport.resetWaitRebootAck(iv);
|
||||
});
|
||||
#endif /*PLUGIN_ZEROEXPORT*/
|
||||
#if defined(PLUGIN_ZEROEXPORT)
|
||||
mCommunication.addNewDataListener([this] (Inverter<> *iv) {
|
||||
mZeroExport.newDataAvailable(iv);
|
||||
});
|
||||
#endif /*PLUGIN_ZEROEXPORT*/
|
||||
|
||||
mSys.setup(&mTimestamp, &mConfig->inst, this);
|
||||
for (uint8_t i = 0; i < MAX_NUM_INVERTERS; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue