Skip to content

Commit

Permalink
Fix index for params
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Dave committed Sep 9, 2024
1 parent e814bcb commit 2ef32fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/motionplus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ void cls_motapp::allcams_init()
, cam_list[indx]->cfg->stream_preview_location);

for (indx1=0;indx1<params_loc->params_cnt;indx1++) {
itm = &params_loc->params_array[indx];
itm = &params_loc->params_array[indx1];
if (itm->param_name == "row") {
cam_list[indx]->all_loc.row = mtoi(itm->param_value);
}
Expand Down

0 comments on commit 2ef32fe

Please sign in to comment.