Merge pull request #1851 from kolcun/patch-1

Increase buffer size
This commit is contained in:
Aircoookie 2021-04-07 01:15:42 +02:00 committed by GitHub
commit d230be3e1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -120,7 +120,7 @@ class UsermodTemperature : public Usermod {
getTemperature();
if (WLED_MQTT_CONNECTED) {
char subuf[38];
char subuf[45];
strcpy(subuf, mqttDeviceTopic);
if (-100 <= temperature) {
// dont publish super low temperature as the graph will get messed up