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 | 15fce71272fb55eef40a429d97cadff46ee05010 (patch) | |
| tree | 1b9781b6a35ae71eac70cd0bd6e6b39abbb34d33 /libraries | |
| parent | 48d00170f68b80ab95e19683c57976dd8b55432f (diff) | |
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.
Diffstat (limited to 'libraries')
| -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. |
