Skip to content

Commit 8c15fae

Browse files
Fixing an error with BLE firmware detection
1 parent 057c078 commit 8c15fae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

webgui/js/util/firmwareUtil.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ firmwareUtil.parseIntelHex = function (data, bufferSize) {
155155
};
156156

157157
firmwareUtil.getBTFWInfo = function () {
158-
if (C.CURRENT_DEVICE === "FLipMouse" && majorVersion === 3) {
158+
if (C.CURRENT_DEVICE === "FLipMouse" && ATDevice.getMajorVersion() === 3) {
159159
return getFWInfo('https://api.github.com/repos/asterics/esp32_mouse_keyboard/releases/latest', '.fm3');
160160
} else {
161161
return getFWInfo('https://api.github.com/repos/asterics/esp32_mouse_keyboard/releases/latest', '.bin');

0 commit comments

Comments
 (0)