mirror of
https://github.com/lumapu/ahoy.git
synced 2025-06-08 21:51:38 +02:00
Bugfix: log
This commit is contained in:
parent
bcbb50fe3e
commit
f2c2c27d41
2 changed files with 10 additions and 7 deletions
|
@ -59,10 +59,13 @@ class ZeroExport {
|
|||
void loop(void) {
|
||||
if ((!mIsInitialized) || (!mCfg->enabled)) return;
|
||||
|
||||
mPowermeter.loop();
|
||||
|
||||
unsigned long Tsp = millis();
|
||||
bool DoLog = false;
|
||||
unsigned long Tsp = millis();
|
||||
|
||||
mPowermeter.loop(&Tsp, &DoLog);
|
||||
if (DoLog) sendLog();
|
||||
clearLog();
|
||||
DoLog = false;
|
||||
|
||||
for (uint8_t group = 0; group < ZEROEXPORT_MAX_GROUPS; group++) {
|
||||
zeroExportGroup_t *cfgGroup = &mCfg->groups[group];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue