From f27a18282bc60c39321871af91de8817c67b0dd6 Mon Sep 17 00:00:00 2001 From: Ella Pietraroia Date: Mon, 3 Feb 2020 10:47:33 +1030 Subject: [PATCH] filter: basic: removing const for pixel and threshold --- filter/basic.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/filter/basic.go b/filter/basic.go index 4b2298f7..f2d7f3d2 100644 --- a/filter/basic.go +++ b/filter/basic.go @@ -44,11 +44,6 @@ import ( const debugfile = "motion.mjpeg" -const ( - threshold = 45000 - pixels = 1000 -) - type pixel struct{ r, g, b uint32 } // Basic is a filter that provides basic motion detection via a difference