fix parameter order

10.3.x-maintenance
Paul Panserrieu 2017-07-11 11:42:47 +02:00
parent 920886fce9
commit 70b4bca63f
1 changed files with 2 additions and 2 deletions

View File

@ -448,11 +448,11 @@ TABS.pid_tuning.initialize = function (callback) {
return maxAngularVel; return maxAngularVel;
} }
function drawCurve(rate, rcRate, rcExpo, useSuperExpo, maxAngularVel, deadband, colour, yOffset, context) { function drawCurve(rate, rcRate, rcExpo, useSuperExpo, deadband, maxAngularVel, colour, yOffset, context) {
context.save(); context.save();
context.strokeStyle = colour; context.strokeStyle = colour;
context.translate(0, yOffset); context.translate(0, yOffset);
self.rateCurve.draw(rate, rcRate, rcExpo, useSuperExpo, maxAngularVel, deadband, context); self.rateCurve.draw(rate, rcRate, rcExpo, useSuperExpo, deadband, maxAngularVel, context);
context.restore(); context.restore();
} }