Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminaigner committed Mar 26, 2024
1 parent 9ed1a7f commit 057c078
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions webgui/js/util/firmwareUtil.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,7 @@ firmwareUtil.parseIntelHex = function (data, bufferSize) {
};

firmwareUtil.getBTFWInfo = function () {
device = device || C.CURRENT_DEVICE;
majorVersion = majorVersion || ATDevice.getMajorVersion();
let deviceIsFM = device === C.AT_DEVICE_FLIPMOUSE;
if (deviceIsFM && majorVersion === 3) {
if (C.CURRENT_DEVICE === "FLipMouse" && majorVersion === 3) {
return getFWInfo('https://api.github.com/repos/asterics/esp32_mouse_keyboard/releases/latest', '.fm3');
} else {
return getFWInfo('https://api.github.com/repos/asterics/esp32_mouse_keyboard/releases/latest', '.bin');
Expand Down

0 comments on commit 057c078

Please # to comment.