From cc80e0772684ae54e38bc0bc62a202f0bfd4df07 Mon Sep 17 00:00:00 2001 From: "Pawel Spychalski (DzikuVx)" Date: Tue, 9 Jul 2019 12:44:51 +0200 Subject: [PATCH] Support for 16 servos --- tabs/servos.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {