Fixed build error with IDF v5.4 (#1637)
This commit is contained in:
@ -348,8 +348,8 @@ Esp32Camera::Esp32Camera(const esp_video_init_config_t& config) {
|
|||||||
}
|
}
|
||||||
capture_count++;
|
capture_count++;
|
||||||
}
|
}
|
||||||
ESP_LOGI(TAG, "Camera init success, captured %d frames in %dms", capture_count,
|
ESP_LOGI(TAG, "Camera init success, captured %d frames in %lums", capture_count,
|
||||||
(xTaskGetTickCount() - start) * portTICK_PERIOD_MS);
|
(unsigned long)((xTaskGetTickCount() - start) * portTICK_PERIOD_MS));
|
||||||
self->streaming_on_ = true;
|
self->streaming_on_ = true;
|
||||||
vTaskDelete(NULL);
|
vTaskDelete(NULL);
|
||||||
},
|
},
|
||||||
|
|||||||
@ -6,6 +6,7 @@
|
|||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
#include <tuple>
|
#include <tuple>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
#include <cinttypes>
|
||||||
|
|
||||||
// Standard C headers
|
// Standard C headers
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
@ -28,7 +29,6 @@
|
|||||||
#include "gfx.h"
|
#include "gfx.h"
|
||||||
#include "expression_emote.h"
|
#include "expression_emote.h"
|
||||||
|
|
||||||
LV_FONT_DECLARE(BUILTIN_TEXT_FONT);
|
|
||||||
|
|
||||||
namespace emote {
|
namespace emote {
|
||||||
|
|
||||||
@ -232,7 +232,7 @@ bool EmoteDisplay::StopAnimDialog()
|
|||||||
|
|
||||||
bool EmoteDisplay::InsertAnimDialog(const char* emoji_name, uint32_t duration_ms)
|
bool EmoteDisplay::InsertAnimDialog(const char* emoji_name, uint32_t duration_ms)
|
||||||
{
|
{
|
||||||
ESP_LOGI(TAG, "InsertAnimDialog: %s, %d", emoji_name, duration_ms);
|
ESP_LOGI(TAG, "InsertAnimDialog: %s, %" PRIu32, emoji_name, duration_ms);
|
||||||
if (emote_handle_ && emoji_name) {
|
if (emote_handle_ && emoji_name) {
|
||||||
return emote_insert_anim_dialog(emote_handle_, emoji_name, duration_ms);
|
return emote_insert_anim_dialog(emote_handle_, emoji_name, duration_ms);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user