We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1913044 commit 4c9f462Copy full SHA for 4c9f462
examples/device/video_capture/src/main.c
@@ -185,6 +185,7 @@ void video_task(void)
185
186
if (!already_sent) {
187
already_sent = 1;
188
+ tx_busy = 1;
189
start_ms = board_millis();
190
#ifdef CFG_EXAMPLE_VIDEO_READONLY
191
# if defined(CFG_EXAMPLE_VIDEO_DISABLE_MJPEG)
@@ -203,6 +204,7 @@ void video_task(void)
203
204
if (cur - start_ms < interval_ms) return; // not enough time
205
if (tx_busy) return;
206
start_ms += interval_ms;
207
208
209
210
0 commit comments