fix v2 hardware check

This commit is contained in:
Paul Wieland 2024-01-26 12:27:06 -05:00
parent 5855cc8b3f
commit 4ee292475a
1 changed files with 1 additions and 1 deletions

View File

@ -299,7 +299,7 @@
document.querySelector("#wiring_diagram").src = "wiring_diagrams/secplus_diagram.png"; document.querySelector("#wiring_diagram").src = "wiring_diagrams/secplus_diagram.png";
} }
if(protocol !== "sec2" && (hardware === "v2board_esp8266_d1_mini" || hardware === "v2board_esp32_d1_mini")){ if(protocol !== "secplusv2" && (hardware === "v2board_esp8266_d1_mini" || hardware === "v2board_esp32_d1_mini")){
alert("ratgdo version 2.0 only works with Security + 2.0"); alert("ratgdo version 2.0 only works with Security + 2.0");
document.querySelector('input[name="protocol"][value="secplusv2"]').checked = true; document.querySelector('input[name="protocol"][value="secplusv2"]').checked = true;
return; return;