Fixed build error with IDF v5.4 (#1637)

This commit is contained in:
espressif2022
2026-01-09 17:19:06 +08:00
committed by GitHub
parent 1e8fefbede
commit 7240ea99f1
2 changed files with 4 additions and 4 deletions

View File

@ -348,8 +348,8 @@ Esp32Camera::Esp32Camera(const esp_video_init_config_t& config) {
}
capture_count++;
}
ESP_LOGI(TAG, "Camera init success, captured %d frames in %dms", capture_count,
(xTaskGetTickCount() - start) * portTICK_PERIOD_MS);
ESP_LOGI(TAG, "Camera init success, captured %d frames in %lums", capture_count,
(unsigned long)((xTaskGetTickCount() - start) * portTICK_PERIOD_MS));
self->streaming_on_ = true;
vTaskDelete(NULL);
},