mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 02:07:51 -06:00
Log which firmware file you're about to upload
Kind of critical information, really. Contributes to issue CURA-5749.
This commit is contained in:
parent
3c626453a6
commit
85b835118d
1 changed files with 3 additions and 2 deletions
|
@ -160,6 +160,7 @@ class USBPrinterOutputDevice(PrinterOutputDevice):
|
||||||
if self._connection_state != ConnectionState.closed:
|
if self._connection_state != ConnectionState.closed:
|
||||||
self.close()
|
self.close()
|
||||||
|
|
||||||
|
Logger.log("i", "Uploading hex file from: {firmware_location}".format(firmware_location = self._firmware_location))
|
||||||
try:
|
try:
|
||||||
hex_file = intelHex.readHex(self._firmware_location)
|
hex_file = intelHex.readHex(self._firmware_location)
|
||||||
assert len(hex_file) > 0
|
assert len(hex_file) > 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue