Skip to content

Commit

Permalink
Update edit_config_template.html
Browse files Browse the repository at this point in the history
  • Loading branch information
caco3 authored Sep 30, 2024
1 parent a092142 commit 74491e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sd-card/html/edit_config_template.html
Original file line number Diff line number Diff line change
Expand Up @@ -933,7 +933,7 @@ <h4><input type="checkbox" id="Category_Analog_enabled" value="1" onclick = 'Up
<tr>
<td class="indent2">
<input type="checkbox" id="PostProcessing_AnalogToDigitTransitionStart_enabled" value="1" onclick = 'InvertEnableItem("PostProcessing", "AnalogToDigitTransitionStart")' unchecked >
<label for=PostProcessing_AnalogToDigitTransitionStart_enabled><class id="PostProcessing_AnalogToDigitTransitionStart_text" style="color:black;">Analog/Digital Transition Start</class></label>
<label for=PostProcessing_AnalogToDigitTransitionStart_enabled><class id="PostProcessing_AnalogToDigitTransitionStart_text" style="color:black;">Analogto Digit Transition Start</class></label>
</td>
<td>
<input required type="number" id="PostProcessing_AnalogToDigitTransitionStart_value1" step="0.1" min="5.0" max="9.9" value="9.2"
Expand Down Expand Up @@ -2374,12 +2374,12 @@ <h4><input type="checkbox" id="Category_GPIO_enabled" value="1" onclick='Update

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 digit file, only show in the digits 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 digit file, only show in the analog list box
optionAna.text = text;
optionAna.value = list_tflite[i];
_indexAna.add(optionAna);
Expand Down

0 comments on commit 74491e9

Please sign in to comment.