mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 13:38:38 -04:00
Tools: Web: FilterReview: fix clear calculation with no data
This commit is contained in:
parent
0acf4e50b8
commit
6443eab963
@ -231,6 +231,9 @@ function re_calc() {
|
||||
|
||||
// Force full re-calc on next run, on window size change
|
||||
function clear_calculation() {
|
||||
if (Gyro_batch == null) {
|
||||
return
|
||||
}
|
||||
for (let i = 0; i < Gyro_batch.length; i++) {
|
||||
if (Gyro_batch[i] == null) {
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user