Skip to content

Commit fa8c64b

Browse files
committed
merge main and code format
1 parent e5b091e commit fa8c64b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

adafruit_avrprog.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,7 @@ def _busy_wait(self):
365365

366366

367367
def read_hex_page(file_state, page_addr, page_size, page_buffer):
368+
# pylint: disable=too-many-branches
368369
"""
369370
Helper function that does the Intel Hex parsing. Takes in a dictionary
370371
that contains the file 'state'. The dictionary should have file_state['f']
@@ -422,7 +423,7 @@ def read_hex_page(file_state, page_addr, page_size, page_buffer):
422423
continue
423424
if rec_type == 4:
424425
file_state["ext_addr"] = int(line[9:13], 16) << 16
425-
#print("ExtLin addr: %05X" % file_state['ext_addr'])
426+
# print("ExtLin addr: %05X" % file_state['ext_addr'])
426427
continue
427428
if rec_type != 0: # if not the above or a data record...
428429
raise RuntimeError(

0 commit comments

Comments
 (0)