Skip to content

Commit

Permalink
(uart) modified some details
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxXSoft committed Dec 23, 2020
1 parent bea34e9 commit 25cddce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/uart.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def get_word(num):
return bytes(byte_list)


def make_packet(file_name, offset, slice_len=8):
def make_packet(file_name, offset, slice_len=1):
packet = []
with open(file_name, 'rb') as f:
size = os.path.getsize(file_name)
Expand Down

0 comments on commit 25cddce

Please sign in to comment.