From f07db89047fc728db21473b41de2570f6c06808e Mon Sep 17 00:00:00 2001 From: ichbtm <7622549+ichbtm@users.noreply.github.com> Date: Fri, 30 Mar 2018 17:03:24 +0200 Subject: [PATCH] changed min and max to uint16_t --- libraries/Servo/src/Servo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/Servo/src/Servo.h b/libraries/Servo/src/Servo.h index 4890a141..640f7436 100644 --- a/libraries/Servo/src/Servo.h +++ b/libraries/Servo/src/Servo.h @@ -111,8 +111,8 @@ public: bool attached(); // return true if this servo is attached, otherwise false private: uint8_t servoIndex; // index into the channel data for this servo - int8_t min; // minimum is this value times 4 added to MIN_PULSE_WIDTH - int8_t max; // maximum is this value times 4 added to MAX_PULSE_WIDTH + int16_t min; // minimum pulse in µs + int16_t max; // maximum pulse in µs }; #endif