Use macro YESNO to standardize True/False messages

This commit is contained in:
Edward Firmo
2024-02-02 08:53:51 +01:00
parent b94461b39f
commit 52e3dd174c
3 changed files with 10 additions and 10 deletions

View File

@@ -114,7 +114,7 @@ script:
call.set_mode(value);
} else {
ESP_LOGE(TAG, "Invalid call:");
ESP_LOGE(TAG, " Embedded: %s", embedded ? "True" : "False");
ESP_LOGE(TAG, " Embedded: %s", YESNO(embedded));
ESP_LOGE(TAG, " Key: %s", key.c_str());
ESP_LOGE(TAG, " Value: %s", value.c_str());
}