??? 05/13/07 10:01 Read: times |
#139168 - writing SBUF without checking? Responding to: ???'s previous message |
The first thing I noticed was writing into SBUF while not checking TI to see if it was empty. The second I noticed was that TI was instead used to check reception in SBUF (as noted by Chris).
If this is all the code accessing SBUF this might work because receiving a character takes as much time as transmitting one, but it's still a bug in my book. Is this #5 or #6? |