Skip to content

Commit 677007f

Browse files
Define MAX_SERVOS to 12, like original Servo.h (#6999)
Fixes #6997
1 parent 5bc3079 commit 677007f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: libraries/Servo/src/Servo.h

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
#define MAX_PULSE_WIDTH 2400 // the longest pulse sent to a servo
5151
#define DEFAULT_PULSE_WIDTH 1500 // default pulse width when servo is attached
5252
#define REFRESH_INTERVAL 20000 // minumim time to refresh servos in microseconds
53+
#define MAX_SERVOS 12
5354

5455
#if !defined(ESP8266)
5556

0 commit comments

Comments
 (0)