mirror of
https://github.com/Motion-Project/motion.git
synced 2026-02-06 21:11:40 -05:00
Put defaults and system configuration under motapp structure
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user