Pre-commit

This commit is contained in:
Cabooman 2024-02-03 22:35:07 +01:00
parent f6376c9a40
commit 3747a468c5

View file

@ -92,8 +92,7 @@ static void publish_cell_voltages(void) {
String cell_topic = topic + String(i + 1) + "/config";
mqtt_publish_retain(cell_topic.c_str());
}
}
else {
} else {
// Every 5-ish seconds, build the JSON payload for the state topic. This requires
// some annoying formatting due to C++ not having nice Python-like string formatting.
// msg_length is a cumulative variable to track start position (param 1) and for