Minor string optimisations.

This commit is contained in:
Blaz Kristan
2022-10-09 12:09:46 +02:00
parent 1f32f96487
commit d00a708177
3 changed files with 9 additions and 9 deletions

View File

@@ -293,8 +293,8 @@ class MultiRelay : public Usermod {
json[F("stat_t")] = "~";
json[F("cmd_t")] = F("~/command");
json[F("pl_off")] = F("off");
json[F("pl_on")] = F("on");
json[F("pl_off")] = "off";
json[F("pl_on")] = "on";
json[F("uniq_id")] = uid;
strcpy(buf, mqttDeviceTopic); //max length: 33 + 7 = 40