mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 07:09:02 +08:00
Merge branch 'feature_firmware_updater' of https://github.com/fieldOfView/Cura into fieldOfView-feature_firmware_updater
This commit is contained in:
commit
c680050040
@ -22,7 +22,7 @@ class AvrFirmwareUpdater(FirmwareUpdater):
|
||||
|
||||
def _updateFirmware(self) -> None:
|
||||
try:
|
||||
hex_file = intelHex.readHex(self._firmware_location)
|
||||
hex_file = intelHex.readHex(self._firmware_file)
|
||||
assert len(hex_file) > 0
|
||||
except (FileNotFoundError, AssertionError):
|
||||
Logger.log("e", "Unable to read provided hex file. Could not update firmware.")
|
||||
|
Loading…
x
Reference in New Issue
Block a user