forked from emutos/emutos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This applies to all functions that implement Bconout(): bconout1(), bconoutTT(), bconoutA(), bconoutB(). There was a small window between checking for the register on the device being empty, and putting the data into the iorec buffer if it wasn't. If the device became empty in that window, the transmit interrupt would trigger but the interrupt wouldn't see any data in the buffer at that point, and the data could be stuck in the iorec buffer. Thanks to Christian Zietz for pointing this out.
- Loading branch information
1 parent
a47f0ef
commit 5e08a36
Showing
1 changed file
with
37 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters