Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
generic: serial: Fix U2Xn not being reset
Some Arduino firmware versions set the U2Xn bit which leads to doubled baudrate as avr-hal currently does not ensure the bit is reset to zero on initialization. Fix this by resetting the UCSRnA register entirely. Signed-off-by: Rahix <rahix@rahix.de>
- Loading branch information