From 7b8da9385dd939fe34db574001ddb4399647708e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 26 Jun 2022 09:41:58 +1000 Subject: [PATCH] Tools: load FLTD from RLL_FLTD in FilterTool --- .../web-firmware/Tools/FilterTool/filters.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Tools/autotest/web-firmware/Tools/FilterTool/filters.js b/Tools/autotest/web-firmware/Tools/FilterTool/filters.js index 94104b7ab6..01d1015445 100644 --- a/Tools/autotest/web-firmware/Tools/FilterTool/filters.js +++ b/Tools/autotest/web-firmware/Tools/FilterTool/filters.js @@ -478,6 +478,19 @@ async function load_parameters(file) { } } } + if (line.startsWith("ATC_RAT_RLL_FLTD") || + line.startsWith("Q_A_RAT_RLL_FLTD")) { + var fvar = document.getElementById("FLTD"); + if (fvar) { + v = line.split(/[\s,=\t]+/); + if (v.length >= 2) { + var vname = v[0]; + var value = v[1]; + fvar.value = value; + console.log("set FLTD=" + value); + } + } + } } fill_docs(); calculate_filter();