Skip to content

Commit 20e361b

Browse files
committed
Improve wording
1 parent 98b2438 commit 20e361b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/firmware_update.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def flash_firmware(device : Modulino, firmware_path, verbose=False):
128128
firmware_data = file.read()
129129
total_bytes = len(firmware_data)
130130

131-
print(f"🔥 Flashing {total_bytes} bytes of firmware")
131+
print(f"🔥 Writing {total_bytes} bytes")
132132
for i in range(0, total_bytes, CHUNK_SIZE):
133133
progress_bar(i, total_bytes)
134134
start_address = bytearray([8, 0, i // 256, i % 256]) # 4-byte address: byte 1 = MSB, byte 4 = LSB
@@ -144,7 +144,7 @@ def flash_firmware(device : Modulino, firmware_path, verbose=False):
144144

145145
progress_bar(total_bytes, total_bytes) # Complete the progress bar
146146

147-
print("🏃 Starting firmware")
147+
print("🏃 Launching new firmware")
148148
go_params = bytearray([0x8, 0x00, 0x00, 0x00, 0x8])
149149
execute_command(bus, CMD_GO, go_params, 0, verbose) # Jump to the application
150150

0 commit comments

Comments
 (0)