Revise motion_loop to mlp_main

This commit is contained in:
Mr-Dave
2023-01-31 21:04:00 -07:00
parent ddcd761a13
commit 85a8d446fe
3 changed files with 3 additions and 3 deletions

View File

@@ -442,7 +442,7 @@ static void motpls_start_thread_cam(ctx_dev *cam)
pthread_attr_setdetachstate(&thread_attr, PTHREAD_CREATE_DETACHED);
cam->restart_dev = true;
retcd = pthread_create(&cam->thread_id, &thread_attr, &motion_loop, cam);
retcd = pthread_create(&cam->thread_id, &thread_attr, &mlp_main, cam);
if (retcd != 0) {
MOTION_LOG(WRN, TYPE_ALL, NO_ERRNO,_("Unable to start camera thread."));
}