From 4e54793e14cac03990e15026fd962ec495b464d0 Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Mon, 20 Jun 2011 11:19:25 -0400 Subject: Servo.h: Eliminate unused SERVO_MAX_WRITE_ANGLE. The Servo::write() implementation previously relied upon this value to support an undocumented Arduino misfeature. The relevant behavior was removed in 0.0.10, so we shouldn't still include this define. --- libraries/Servo/Servo.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'libraries') diff --git a/libraries/Servo/Servo.h b/libraries/Servo/Servo.h index c84c042..7753b4b 100644 --- a/libraries/Servo/Servo.h +++ b/libraries/Servo/Servo.h @@ -65,11 +65,6 @@ // Pin number of unattached pins #define NOT_ATTACHED (-1) -// Maximum angle in degrees you can write(), exclusive. Value chosen -// for Arduino compatibility. This value is part of the public API; -// DO NOT CHANGE IT. -#define SERVO_MAX_WRITE_ANGLE 200 - // Default min/max pulse widths (in microseconds) and angles (in // degrees). Values chosen for Arduino compatibility. These values // are part of the public API; DO NOT CHANGE THEM. -- cgit v1.2.3