10.3.x-maintenance
cTn 2013-11-08 14:57:40 +01:00
parent 32a140268d
commit a0db304bab
1 changed files with 1 additions and 1 deletions

View File

@ -611,7 +611,7 @@ function process_message(code, data, bytes) {
SERVO_CONFIG = [];
for (var i = 0; i < bytes; i += 7) {
var arr = {'min': view.getInt16(i, 1), 'max': view.getInt16(i + 2, 1), 'middle': view.getInt16(i + 4, 1), 'rate': view.getInt8(6, 1)};
var arr = {'min': view.getInt16(i, 1), 'max': view.getInt16(i + 2, 1), 'middle': view.getInt16(i + 4, 1), 'rate': view.getInt8(i + 6)};
SERVO_CONFIG.push(arr);
}