Merge pull request #544 from peutetre/master

fix parameter order
10.3.x-maintenance
Michael Keller 2017-07-11 22:02:31 +12:00 committed by GitHub
commit 667c4d5af3
1 changed files with 2 additions and 2 deletions

View File

@ -448,11 +448,11 @@ TABS.pid_tuning.initialize = function (callback) {
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.strokeStyle = colour;
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();
}