diff --git a/tabs/pid_tuning.html b/tabs/pid_tuning.html index 1f014d8a..f83572bd 100755 --- a/tabs/pid_tuning.html +++ b/tabs/pid_tuning.html @@ -186,7 +186,7 @@
- +
@@ -206,7 +206,7 @@
- +
@@ -243,4 +243,4 @@ - \ No newline at end of file + diff --git a/tabs/pid_tuning.js b/tabs/pid_tuning.js index dae52042..9c1c23fc 100755 --- a/tabs/pid_tuning.js +++ b/tabs/pid_tuning.js @@ -352,13 +352,6 @@ TABS.pid_tuning.initialize = function (callback) { $('.pid_tuning .roll_pitch_rate').hide(); } - function setCanvasDimensions(canvas) { - canvas.width = canvas.parentNode.clientWidth; - canvas.height = canvas.parentNode.clientHeight; - } - setCanvasDimensions($('.pitch_roll_curve canvas').get(0)); - setCanvasDimensions($('.yaw_curve canvas').get(0)); - function drawRateCurve(rateElement, expoElement, canvasElement) { var rate = parseFloat(rateElement.val()), expo = parseFloat(expoElement.val()),