Skip to content

Commit

Permalink
bump qr scanner buffer size
Browse files Browse the repository at this point in the history
  • Loading branch information
stepansnigirev committed Feb 28, 2020
1 parent b8ef907 commit 2fd9e89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qrscanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def __init__(self, trigger=None, uart="YA", baudrate=9600):
else:
self.EOL = "\r"

self.uart = pyb.UART(uart, baudrate, read_buf_len=1024)
self.uart = pyb.UART(uart, baudrate, read_buf_len=2048)
self.uart.read(self.uart.any())

self.trigger = None
Expand Down

0 comments on commit 2fd9e89

Please sign in to comment.