;---------------------------------------------------------------------------
; reserved access bank locations
- udata_acs
+ udata_acs
psave_intcon res 1
psave_bsr res 1
;----------
panicd_serialrx_err
bs_f panicst, panicst_ferroerr
- bc_f RCSTA, RCEN ; disable } to clear FERR/OERR
- mov_fw RCREG ; read RCREG } (see PIC18FXX8 DS p182)
+ bc_f RCSTA, RCEN ; disable } to clear FERR/OERR
+ mov_fw RCREG ; read RCREG } (see PIC18FXX8 DS p182)
bs_f RCSTA, RCEN ; reenable }
panicd_serialrx_err_loop
bt_f_if0 PIR1, RCIF ; wait for a byte 0x01 to ack the overrun/error