This is somehow what the define will do, except it will test if there's any error, if so it will clear them
from the .LIB
Code:ifdef HSER_CLROERR btfsc RCSTA, OERR ; Check for overflow error bcf RCSTA, CREN ; Toggle continuous receive to clear error bsf RCSTA, CREN endif
Bookmarks