Skip to content

Commit f07db89

Browse files
authored
changed min and max to uint16_t
1 parent a6b744f commit f07db89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/Servo/src/Servo.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ class Servo
111111
bool attached(); // return true if this servo is attached, otherwise false
112112
private:
113113
uint8_t servoIndex; // index into the channel data for this servo
114-
int8_t min; // minimum is this value times 4 added to MIN_PULSE_WIDTH
115-
int8_t max; // maximum is this value times 4 added to MAX_PULSE_WIDTH
114+
int16_t min; // minimum pulse in µs
115+
int16_t max; // maximum pulse in µs
116116
};
117117

118118
#endif

0 commit comments

Comments
 (0)