Skip to content

Commit

Permalink
Servo.h: Eliminate unused SERVO_MAX_WRITE_ANGLE.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Marti Bolivar committed Jun 20, 2011
1 parent 48d0017 commit 15fce71
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions libraries/Servo/Servo.h
Expand Up @@ -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.
Expand Down

0 comments on commit 15fce71

Please sign in to comment.