Skip to content

Commit

Permalink
Fix incorrect type in log call for unexpected params. Fixes #7
Browse files Browse the repository at this point in the history
  • Loading branch information
pauln committed Jan 3, 2020
1 parent 3d64fbf commit b7fd703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linp-doorbell.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class LinpDoorbell : public Component, CustomAPIDevice {
value.remove(0, 7);
if (!value.equals("\"ok\"")) {
if (requests.isEmpty()) {
ESP_LOGI("linp-doorbell", "Unexpected property received: %s", value);
ESP_LOGI("linp-doorbell", "Unexpected property received: %s", value.c_str());
} else {
String param = requests.dequeue();
handleParam(param, value);
Expand Down

0 comments on commit b7fd703

Please sign in to comment.