From 754981c67f19d80f147c790af1d41d90ecd40681 Mon Sep 17 00:00:00 2001 From: CaCO3 Date: Fri, 11 Nov 2022 19:09:59 +0100 Subject: [PATCH] Update edit_config_param.html (#1323) --- sd-card/html/edit_config_param.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sd-card/html/edit_config_param.html b/sd-card/html/edit_config_param.html index 0c99f40c..c70abfa3 100644 --- a/sd-card/html/edit_config_param.html +++ b/sd-card/html/edit_config_param.html @@ -1811,12 +1811,12 @@ function WriteModelFiles() var text = list_tflite[i].replace("/config/", ""); - if (list_tflite[i].includes("/dig-")) { // Its a digital file, only show in the digital list box + if (list_tflite[i].includes("/dig")) { // Its a digital file, only show in the digital list box optionDig.text = text; optionDig.value = list_tflite[i]; _indexDig.add(optionDig); } - else if (list_tflite[i].includes("/ana-")) { // Its a digital file, only show in the analog list box + else if (list_tflite[i].includes("/ana")) { // Its a digital file, only show in the analog list box optionAna.text = text; optionAna.value = list_tflite[i]; _indexAna.add(optionAna);