From 6769c6b39763f4dd583d47465a97ca29753e2caa Mon Sep 17 00:00:00 2001 From: hadaq Date: Thu, 13 Aug 2015 17:34:02 +0200 Subject: [PATCH] added positive pulses to automatism, mt --- thresholds/thresholds_automatic.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/thresholds/thresholds_automatic.pl b/thresholds/thresholds_automatic.pl index edb2ba2..b0fe86b 100755 --- a/thresholds/thresholds_automatic.pl +++ b/thresholds/thresholds_automatic.pl @@ -236,10 +236,10 @@ while ($number_of_steps < $number_of_iterations || my $direction = $default_direction; if ($static_value == ($polarity ? 0 : 1)) { $interval_step = int($interval_step/1.2); - $direction = -1*direction;; + $direction = -1 * $direction; } elsif ($hit_diff > $accepted_dark_rate ) { $interval_step = int($interval_step/1.2); - $direction = -1*direction;; + $direction = -1 * $direction; } else { $interval_step = int($interval_step/1.2); } -- 2.43.0