From 3b94d8c41dadb7b1436ac3c56cbcd79497285b7c Mon Sep 17 00:00:00 2001 From: William Emfinger Date: Mon, 14 Oct 2024 22:14:35 -0500 Subject: [PATCH] feat(video): Update to not delay when pushing a frame (#90) --- components/box-emu/src/box-emu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/box-emu/src/box-emu.cpp b/components/box-emu/src/box-emu.cpp index a30e9b4..4ffc37a 100644 --- a/components/box-emu/src/box-emu.cpp +++ b/components/box-emu/src/box-emu.cpp @@ -492,7 +492,7 @@ void IRAM_ATTR BoxEmu::push_frame(const void* frame) { logger_.error("video queue is null, make sure to call initialize_video() first!"); return; } - xQueueSend(video_queue_, &frame, 5 / portTICK_PERIOD_MS); + xQueueSend(video_queue_, &frame, 0); } VideoSetting BoxEmu::video_setting() const {