diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-06-20 11:19:25 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2011-06-20 15:22:03 -0400 |
commit | 4e54793e14cac03990e15026fd962ec495b464d0 (patch) | |
tree | 1b9781b6a35ae71eac70cd0bd6e6b39abbb34d33 | |
parent | 8bb054887d12e719abac8529f6b46fea9f952695 (diff) | |
download | librambutan-4e54793e14cac03990e15026fd962ec495b464d0.tar.gz librambutan-4e54793e14cac03990e15026fd962ec495b464d0.zip |
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.
-rw-r--r-- | libraries/Servo/Servo.h | 5 |
1 files changed, 0 insertions, 5 deletions
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. |