Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions packages/uhk-agent/src/services/device.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ import {
RIGHT_HALF_FIRMWARE_UPGRADE_MODULE_NAME,
RightSlotModules,
SaveUserConfigurationData,
shouldUpgradeAgent,
shouldUpgradeFirmware,
simulateInvalidUserConfigError,
UHK_80_DEVICE,
Expand Down Expand Up @@ -511,12 +510,6 @@ export class DeviceService {

uhkDeviceProduct = await getCurrentUhkDeviceProduct(this.options);
checkFirmwareAndDeviceCompatibility(packageJson, uhkDeviceProduct);
if (shouldUpgradeAgent(packageJson.userConfigVersion, this.disableAgentUpgrade)) {
response.failReason = FirmwareUpgradeFailReason.UserConfigVersionNotSupported;
this.logService.error(`[DeviceService] The firmware contains ${packageJson.userConfigVersion} user config version, which is newer than ${VERSIONS.userConfigVersion} which this Agent supports. Minor version check is used.`);

return event.sender.send(IpcEvents.device.updateFirmwareReply, response);
}

let dongleHid = await getCurrentUhkDongleHID();
if (dongleHid) {
Expand Down