Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieucarbou committed Dec 29, 2024
1 parent c0a3ee5 commit f636c8a
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/fn/yasolr_boot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ void yasolr_boot() {
Mycila::Trial.begin();
Mycila::Trial.validate();
#endif
};
}
2 changes: 1 addition & 1 deletion src/fn/yasolr_configure.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,4 @@ void yasolr_configure() {
// Router
router.addOutput(output1);
router.addOutput(output2);
};
}
2 changes: 1 addition & 1 deletion src/fn/yasolr_divert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ void yasolr_divert() {
dashboardUpdateTask.requestEarlyRun();
}
}
};
}
2 changes: 1 addition & 1 deletion src/fn/yasolr_event_listeners.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,4 @@ void yasolr_event_listeners() {
logger.info(TAG, "Relay 2 changed to %s", state ? "ON" : "OFF");
mqttPublishTask.requestEarlyRun();
});
};
}
2 changes: 1 addition & 1 deletion src/fn/yasolr_mqtt_subscribers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,4 @@ void yasolr_mqtt_subscribers() {
output2.temperature().update(t);
});
}
};
}
2 changes: 1 addition & 1 deletion src/fn/yasolr_start_config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -251,4 +251,4 @@ void yasolr_start_config() {
// pre-init logging
logger.setLevel(config.getBool(KEY_ENABLE_DEBUG) ? ARDUHAL_LOG_LEVEL_DEBUG : ARDUHAL_LOG_LEVEL_INFO);
esp_log_level_set("*", static_cast<esp_log_level_t>(logger.getLevel()));
};
}
2 changes: 1 addition & 1 deletion src/fn/yasolr_start_display.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,4 @@ void yasolr_start_display() {
displayTask->setInterval(500 * Mycila::TaskDuration::MILLISECONDS);
displayTask->setManager(coreTaskManager);
}
};
}
2 changes: 1 addition & 1 deletion src/fn/yasolr_start_ds18.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ void yasolr_start_ds18() {
ds18Task->setInterval(10 * Mycila::TaskDuration::SECONDS);
ds18Task->setManager(coreTaskManager);
}
};
}
2 changes: 1 addition & 1 deletion src/fn/yasolr_start_jsy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,4 @@ void yasolr_start_jsy() {
assert(jsyTaskManager->asyncStart(512 * 4, 5, 0, 100, true));
Mycila::TaskMonitor.addTask(jsyTaskManager->getName());
}
};
}
2 changes: 1 addition & 1 deletion src/fn/yasolr_start_jsy_remote_listener.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,4 @@ void yasolr_start_jsy_remote_listener() {
logger.info(TAG, "Enable UDP Server on port %" PRIu16, udpPort);
udp->listen(udpPort);
}
};
}
2 changes: 1 addition & 1 deletion src/fn/yasolr_start_lights.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ void yasolr_start_lights() {

lightsTask.setInterval(200 * Mycila::TaskDuration::MILLISECONDS);
lightsTask.setManager(coreTaskManager);
};
}
2 changes: 1 addition & 1 deletion src/fn/yasolr_start_logging.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ void yasolr_start_logging() {

loggingTask.setInterval(20 * Mycila::TaskDuration::SECONDS);
loggingTask.setManager(coreTaskManager);
};
}

void yasolr_configure_logging() {
logger.info(TAG, "Configuring logging...");
Expand Down
2 changes: 1 addition & 1 deletion src/fn/yasolr_start_pzem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,4 +167,4 @@ void yasolr_start_pzem() {
assert(pzemTaskManager->asyncStart(512 * 4, 5, 0, 100, true));
Mycila::TaskMonitor.addTask(pzemTaskManager->getName());
}
};
}
2 changes: 1 addition & 1 deletion src/fn/yasolr_start_rest_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -421,4 +421,4 @@ void yasolr_start_rest_api() {
response->setLength();
request->send(response);
});
};
}
2 changes: 1 addition & 1 deletion src/fn/yasolr_start_website.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,4 @@ void yasolr_start_website() {
dashboardUpdateTask.setEnabledWhen([]() { return espConnect.isConnected() && !dashboard.isAsyncAccessInProgress(); });
dashboardUpdateTask.setInterval(1 * Mycila::TaskDuration::SECONDS);
dashboardUpdateTask.setManager(coreTaskManager);
};
}
2 changes: 1 addition & 1 deletion src/fn/yasolr_start_zcd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ void yasolr_start_zcd() {
zcdTask->setManager(coreTaskManager);
zcdTask->resume();
}
};
}

0 comments on commit f636c8a

Please sign in to comment.