mirror of
https://github.com/lumapu/ahoy.git
synced 2025-06-09 14:11:39 +02:00
Update zeroExport.h
format changes
This commit is contained in:
parent
5a0b095f07
commit
9a9ddb8c0a
1 changed files with 1 additions and 3 deletions
|
@ -255,6 +255,7 @@ class ZeroExport {
|
|||
|
||||
/** tickerMidnight
|
||||
* Time pulse Midnicht
|
||||
* Reboots Inverter at Midnight to reset YieldDay and clean start environment
|
||||
* @param void
|
||||
* @returns void
|
||||
* @todo Reboot der Inverter um Mitternacht in Ahoy selbst verschieben mit separater Config-Checkbox
|
||||
|
@ -263,9 +264,6 @@ class ZeroExport {
|
|||
void tickMidnight(void) {
|
||||
if (!mIsInitialized) return;
|
||||
|
||||
// Select all Inverter to reboot
|
||||
// shutdown for clean start environment
|
||||
//@Todo: move to ahoy!
|
||||
for (uint8_t group = 0; group < ZEROEXPORT_MAX_GROUPS; group++) {
|
||||
for (uint8_t inv = 0; inv < ZEROEXPORT_GROUP_MAX_INVERTERS; inv++) {
|
||||
mCfg->groups[group].inverters[inv].doReboot = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue