CaCO3 3 лет назад
Родитель
Сommit
754981c67f
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      sd-card/html/edit_config_param.html

+ 2 - 2
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);