Fix format warning in Tuya component (#1954)

This commit is contained in:
Stefan Agner authored and GitHub committed 2021-08-11 16:50:05 +12:00
1 parent 947c104eff
commit 11477dbc03
1 file changed
+1 -1
+1 -1
View File
@@ -297,7 +297,7 @@ void Tuya::handle_datapoint_(const uint8_t *buffer, size_t len) {
ESP_LOGD(TAG, "Datapoint %u update to %#08X", datapoint.id, datapoint.value_bitmask);
break;
default:
ESP_LOGW(TAG, "Datapoint %u has unknown type %#02hhX", datapoint.id, datapoint.type);
ESP_LOGW(TAG, "Datapoint %u has unknown type %#02hhX", datapoint.id, static_cast<uint8_t>(datapoint.type));
return;
}