mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
hook up reset max button
This commit is contained in:
parent
b43f73d303
commit
797de63051
2 changed files with 2 additions and 2 deletions
|
@ -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">
|
||||
|
|
|
@ -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];
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue