diff --git a/plugins/USBPrinting/AvrFirmwareUpdater.py b/plugins/USBPrinting/AvrFirmwareUpdater.py index b8650e9208..56e3f99c23 100644 --- a/plugins/USBPrinting/AvrFirmwareUpdater.py +++ b/plugins/USBPrinting/AvrFirmwareUpdater.py @@ -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.")