Skip to content

Commit

Permalink
sleep 10ms before rec start
Browse files Browse the repository at this point in the history
  • Loading branch information
ligenxxxx committed Jun 6, 2024
1 parent ad8ba95 commit 2eb77a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/dvr.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ void dvr_cmd(osd_dvr_cmd_t cmd) {
if (!dvr_is_recording && g_sdcard_size >= 103) {
dvr_update_record_conf();
dvr_is_recording = true;
usleep(10 * 1000);
system_script(REC_START);
sleep(2); // wait for record process
}
Expand Down

0 comments on commit 2eb77a1

Please sign in to comment.