Put defaults and system configuration under motapp structure

This commit is contained in:
Mr-Dave
2023-01-16 16:31:49 -07:00
parent 6ca04402bf
commit 3f97fd531a
18 changed files with 1531 additions and 1793 deletions

View File

@@ -1193,7 +1193,7 @@ void alg_stddev(ctx_dev *cam)
void alg_diff(ctx_dev *cam)
{
if (cam->detecting_motion || cam->motapp->setup_mode) {
if (cam->detecting_motion || cam->motapp->conf->setup_mode) {
alg_diff_standard(cam);
} else {
if (alg_diff_fast(cam)) {