diff options
author | Pawel Spychalski (DzikuVx) <pspychalski@gmail.com> | 2019-07-09 13:44:51 +0300 |
---|---|---|
committer | Pawel Spychalski (DzikuVx) <pspychalski@gmail.com> | 2019-07-09 13:44:51 +0300 |
commit | cc80e0772684ae54e38bc0bc62a202f0bfd4df07 (patch) | |
tree | 861704cafafe5f942a64a7ccb020924dcc78bc3b /tabs | |
parent | 9b01cec4fb0e5cb9c151d20196a36e1495737e1d (diff) |
Support for 16 servos
Diffstat (limited to 'tabs')
-rwxr-xr-x | tabs/servos.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tabs/servos.js b/tabs/servos.js index ad2bb8a2..202cb85a 100755 --- a/tabs/servos.js +++ b/tabs/servos.js @@ -182,7 +182,7 @@ TABS.servos.initialize = function (callback) { let usedServoIndex = 0; - for (let servoIndex = 0; servoIndex < 16; servoIndex++) { + for (let servoIndex = 0; servoIndex < SERVO_RULES.getServoCount(); servoIndex++) { process_servos('Servo ' + servoIndex, '', servoIndex); } if (usedServoIndex == 0) { |