Added fixme comment due to report of bug. Thank you John Taylor!
This commit is contained in:
@@ -127,6 +127,7 @@ uint8_t RS485_Check_UART_Data(volatile struct mstp_port_struct_t *
|
|||||||
RS485_Comstat.RxTail = 0;
|
RS485_Comstat.RxTail = 0;
|
||||||
else
|
else
|
||||||
RS485_Comstat.RxTail++;
|
RS485_Comstat.RxTail++;
|
||||||
|
/* FIXME: disable interrupts around Rx_Bytes */
|
||||||
RS485_Comstat.Rx_Bytes--;
|
RS485_Comstat.Rx_Bytes--;
|
||||||
/* errors? let the state machine know */
|
/* errors? let the state machine know */
|
||||||
if (RS485_Comstat.Rx_Bufferoverrun) {
|
if (RS485_Comstat.Rx_Bufferoverrun) {
|
||||||
|
|||||||
Reference in New Issue
Block a user