diff --git a/extras/webhid.html b/extras/webhid.html index e2c336a..e4c8f24 100644 --- a/extras/webhid.html +++ b/extras/webhid.html @@ -194,7 +194,7 @@

Feature report

function addReportId() { var reportid = document.querySelector("#addreportid input").value; - reportid = parseInt(reportId); + reportid = parseInt(reportid); if (isNaN(reportid) || reportid < 0 || reportid > 255) { alert("Invalid report ID"); return;