Fix Pilight_rawEnabled log string type bug (#1764)
* Fix Pilight_rawEnabled log string type bug Fixes #1763
This commit is contained in:
1 parent
3470882da0
commit
f3216171e3
1 file changed
+1
-1
@@ -186,7 +186,7 @@ void MQTTtoPilight(char* topicOri, JsonObject& Pilightdata) {
|
|||||||
}
|
}
|
||||||
# ifdef Pilight_rawEnabled
|
# ifdef Pilight_rawEnabled
|
||||||
if (Pilightdata.containsKey("rawEnabled")) {
|
if (Pilightdata.containsKey("rawEnabled")) {
|
||||||
Log.notice(F("Setting PiLight raw output enabled: %s" CR), Pilightdata["rawEnabled"]);
|
Log.notice(F("Setting PiLight raw output enabled: %T" CR), (bool)Pilightdata["rawEnabled"]);
|
||||||
pilightRawEnabled = (bool)Pilightdata["rawEnabled"];
|
pilightRawEnabled = (bool)Pilightdata["rawEnabled"];
|
||||||
disablePilightReceive();
|
disablePilightReceive();
|
||||||
delay(1);
|
delay(1);
|
||||||
|
|||||||
Reference in new issue
Block a user