Tools: Web: FilterReview: fix clear calculation with no data

This commit is contained in:
Iampete1 2023-05-15 00:39:53 +01:00 committed by Andrew Tridgell
parent 0acf4e50b8
commit 6443eab963

View File

@ -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