From 4ee292475a35d36ceae2a8ab06b56aace70dacab Mon Sep 17 00:00:00 2001 From: Paul Wieland Date: Fri, 26 Jan 2024 12:27:06 -0500 Subject: [PATCH] fix v2 hardware check --- static/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/index.html b/static/index.html index cbf7ba7..dc5c164 100644 --- a/static/index.html +++ b/static/index.html @@ -299,7 +299,7 @@ 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"); document.querySelector('input[name="protocol"][value="secplusv2"]').checked = true; return;