Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
softwarecrash committed Aug 1, 2022
2 parents e4b35e6 + 4687adb commit 00a671a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ino
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ if(!_settings._mqttJson){
{
mqttJsonTemp["Temp Sensor " + String(i + 1)] = bms.get.cellTemperature[i];
}

size_t n = serializeJson(mqttJson, mqttBuffer);
mqttclient.publish((String(topic+"/"+_settings._deviceName)).c_str(), String(mqttBuffer).c_str(), n);
}
Expand Down

0 comments on commit 00a671a

Please sign in to comment.