Skip to content

Commit

Permalink
rfcat_bootloader Py3 lingering bug
Browse files Browse the repository at this point in the history
  • Loading branch information
atlas0fd00m committed Dec 20, 2022
1 parent a953946 commit c93ceeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CC-Bootloader/rfcat_bootloader
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def verify_code(ihx_file, serial_port):
if can_read_any:
block_length= length
else:
block_length= ((length / 16) + 1) * 16
block_length= ((length // 16) + 1) * 16
print("\r ", end='')
print("\rVerifying %04d bytes at address: %04X" % (length, start_addr), end='')
do_flash_read(serial_port, start_addr, block_length)
Expand Down

0 comments on commit c93ceeb

Please sign in to comment.