Increase range because some analog servo

As the issue #170, but in the correct branch
10.3.x-maintenance
Mauro Mombelli 2015-04-28 10:13:58 +02:00
parent 37a1c0d3e7
commit fa3ce5716b
1 changed files with 4 additions and 4 deletions

View File

@ -91,9 +91,9 @@ TABS.servos.initialize = function (callback) {
$('div.tab-servos table.fields').append('\
<tr> \
<td style="text-align: center">' + name + '</td>\
<td class="middle"><input type="number" min="1000" max="2000" value="' + SERVO_CONFIG[obj].middle + '" /></td>\
<td class="min"><input type="number" min="1000" max="2000" value="' + SERVO_CONFIG[obj].min +'" /></td>\
<td class="max"><input type="number" min="1000" max="2000" value="' + SERVO_CONFIG[obj].max +'" /></td>\
<td class="middle"><input type="number" min="500" max="2500" value="' + SERVO_CONFIG[obj].middle + '" /></td>\
<td class="min"><input type="number" min="500" max="2500" value="' + SERVO_CONFIG[obj].min +'" /></td>\
<td class="max"><input type="number" min="500" max="2500" value="' + SERVO_CONFIG[obj].max +'" /></td>\
' + servoCheckbox + '\
<td class="direction">\
<input class="first" type="checkbox"/><span class="name">' + name + '</span>\
@ -318,4 +318,4 @@ TABS.servos.initialize = function (callback) {
TABS.servos.cleanup = function (callback) {
if (callback) callback();
};
};