From ccd3725f6397c2f33ef96bf208b905affa722e30 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Mon, 4 Jan 2016 11:16:05 +0900 Subject: [PATCH] AP_Mount_Servo: remove out of date comment --- libraries/AP_Mount/AP_Mount_Servo.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/libraries/AP_Mount/AP_Mount_Servo.cpp b/libraries/AP_Mount/AP_Mount_Servo.cpp index 0383842e4c..dfdd98833e 100644 --- a/libraries/AP_Mount/AP_Mount_Servo.cpp +++ b/libraries/AP_Mount/AP_Mount_Servo.cpp @@ -180,8 +180,6 @@ int16_t AP_Mount_Servo::closest_limit(int16_t angle, int16_t angle_min, int16_t while (angle_min >= 1800) angle_min -= 3600; while (angle_max < -1800) angle_max += 3600; while (angle_max >= 1800) angle_max -= 3600; - // TODO call this function somehow, otherwise this will never work - //set_range(min, max); // If the angle is outside servo limits, saturate the angle to the closest limit // On a circle the closest angular position must be carefully calculated to account for wrap-around