Skip to content

Commit

Permalink
Remove some debug stuff...
Browse files Browse the repository at this point in the history
  • Loading branch information
JoergWeber authored and JoergWeber committed Sep 23, 2008
1 parent 0a5eebd commit e201628
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions motion.c
Original file line number Diff line number Diff line change
Expand Up @@ -1418,8 +1418,6 @@ static void *motion_loop(void *arg)
if (cnt->conf.despeckle_filter && cnt->current_image->diffs > 0) {
olddiffs = cnt->current_image->diffs;
cnt->current_image->diffs = alg_despeckle(cnt, olddiffs);
if (cnt->current_image->diffs > cnt->threshold) //jw
motion_log(LOG_DEBUG, 0, "Labels: %d Diffs: %d", cnt->current_image->total_labels, cnt->current_image->diffs); //jw
} else if (cnt->imgs.labelsize_max) {
cnt->imgs.labelsize_max = 0; /* Disable labeling if enabled */
}
Expand Down Expand Up @@ -1499,9 +1497,6 @@ static void *motion_loop(void *arg)
alg_update_reference_frame(cnt, RESET_REF_FRAME);
cnt->current_image->diffs = 0;
cnt->lightswitch_framecounter = 0;
motion_log(LOG_INFO, 0, "lightswitch_framecounter: %d previous_diffs: %d diffs: %d location.x: %d location.y: %d",
cnt->lightswitch_framecounter, previous_diffs, cnt->current_image->diffs,
cnt->current_image->location.x, cnt->current_image->location.y); //jw

if (debug_level >= CAMERA_DEBUG)
motion_log(-1, 0, "%s: micro-lightswitch!", __FUNCTION__);
Expand Down

0 comments on commit e201628

Please sign in to comment.