Skip to content

Commit

Permalink
increase Serial default baudrate to 3000000 baud
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-rabault committed Mar 22, 2024
1 parent c7febbe commit cfe01b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyluos/io/serial_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def is_host_compatible(cls, host):

def __init__(self, host, baudrate=None):
if baudrate is None:
baudrate = os.getenv('LUOS_BAUDRATE', 1000000)
baudrate = os.getenv('LUOS_BAUDRATE', 3000000)

self._serial = _serial.Serial(host, baudrate)
self._serial.flush()
Expand Down

0 comments on commit cfe01b5

Please sign in to comment.