mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-04 02:09:30 +02:00
Pre-commit
This commit is contained in:
parent
f6376c9a40
commit
3747a468c5
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue