Skip to content

Commit 5855cc8

Browse files
committed
fix v2 hardware check
1 parent 1b60962 commit 5855cc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ <h3>Advanced Users</h3>
299299
document.querySelector("#wiring_diagram").src = "wiring_diagrams/secplus_diagram.png";
300300
}
301301

302-
if(protocol !== "sec2" && hardware === "v2.0"){
302+
if(protocol !== "sec2" && (hardware === "v2board_esp8266_d1_mini" || hardware === "v2board_esp32_d1_mini")){
303303
alert("ratgdo version 2.0 only works with Security + 2.0");
304304
document.querySelector('input[name="protocol"][value="secplusv2"]').checked = true;
305305
return;

0 commit comments

Comments
 (0)