From 2ef32fe4c8b0831cd8408fc7f0e17593bc0f15bf Mon Sep 17 00:00:00 2001 From: Mr-Dave Date: Mon, 9 Sep 2024 15:42:27 -0600 Subject: [PATCH] Fix index for params --- src/motionplus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/motionplus.cpp b/src/motionplus.cpp index 730215b..3b1ca8f 100644 --- a/src/motionplus.cpp +++ b/src/motionplus.cpp @@ -298,7 +298,7 @@ void cls_motapp::allcams_init() , cam_list[indx]->cfg->stream_preview_location); for (indx1=0;indx1params_cnt;indx1++) { - itm = ¶ms_loc->params_array[indx]; + itm = ¶ms_loc->params_array[indx1]; if (itm->param_name == "row") { cam_list[indx]->all_loc.row = mtoi(itm->param_value); }