1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 08:15:30 +03:00

hook up reset max button

This commit is contained in:
cTn 2014-06-25 13:30:17 +02:00
parent b43f73d303
commit 797de63051
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
<div class="tab-motor_outputs">
<div class="wrapper accel">
<div class="plot_control">
<div class="title">Accelerometer - g</div>
<div class="title">Accelerometer - <a class="reset_accel_max" href="#" title="Reset overtime maximum">[Reset]</a></div>
<dl>
<dt i18n="sensorsRefresh"></dt>
<dd class="rate">

View file

@ -205,7 +205,7 @@ function tab_initialize_motor_outputs() {
});
var accel_max_read = [0, 0, 0];
$('a.reset').click(function() {
$('a.reset_accel_max').click(function() {
accel_max_read = [0, 0, 0];
});