mirror of
https://github.com/esphome/esphome.git
synced 2026-10-04 02:05:59 +00:00
[micro_wake_word] Fix a format warning when logging a model version mismatch (#19937)
This commit is contained in:
@@ -87,7 +87,8 @@ bool ModelData::validate_and_mark_ready() {
|
||||
|
||||
const tflite::Model *model = tflite::GetModel(this->data_);
|
||||
if (model->version() != TFLITE_SCHEMA_VERSION) {
|
||||
ESP_LOGE(TAG, "TFLite model version mismatch (expected %d, got %d)", TFLITE_SCHEMA_VERSION, model->version());
|
||||
ESP_LOGE(TAG, "TFLite model version mismatch (expected %d, got %" PRIu32 ")", TFLITE_SCHEMA_VERSION,
|
||||
model->version());
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user