Minor change

10.3.x-maintenance
Dominik Derigs 2016-01-17 22:56:03 +01:00
parent a3c39289bd
commit 9b5fdb6aba
1 changed files with 1 additions and 1 deletions

View File

@ -66,6 +66,7 @@ TABS.motors.initialize = function (callback) {
}
return data;
}
function addSampleToData(data, sampleNumber, sensorData) {
for (var i = 0; i < data.length; i++) {
var dataPoint = sensorData[i];
@ -77,7 +78,6 @@ TABS.motors.initialize = function (callback) {
data[i].max = dataPoint;
}
}
while (data[0].length > 300) {
for (i = 0; i < data.length; i++) {
data[i].shift();