From c4a963283648c6884db3e106dafa92d5322fb1d0 Mon Sep 17 00:00:00 2001 From: armink Date: Thu, 17 Jul 2014 19:57:02 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E3=80=90=E8=BF=98=E5=8E=9F=E3=80=91?= =?UTF-8?q?=E4=B9=8B=E5=89=8D=E4=B8=80=E7=89=88=E6=8E=A5=E6=94=B6=E5=AE=8C?= =?UTF-8?q?=E6=88=90=E5=90=8E=E5=A4=84=E7=90=86=E9=80=BB=E8=BE=91=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=EF=BC=8C=E4=B8=8A=E7=89=88=E6=9C=AC=E7=9A=84=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E6=96=B9=E6=A1=88=E7=BB=8F=E8=BF=87=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=EF=BC=8C485=E6=80=BB=E7=BA=BF=E6=95=88=E6=9E=9C=E4=B8=8D?= =?UTF-8?q?=E5=A5=BD=EF=BC=8C=E7=AD=89=E4=BC=98=E5=8C=96=E6=88=90=E5=8A=9F?= =?UTF-8?q?=E5=90=8E=E5=86=8D=E6=9B=B4=E6=96=B0=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: armink --- FreeModbus/modbus/rtu/mbrtu.c | 3 +-- FreeModbus/modbus/rtu/mbrtu_m.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/FreeModbus/modbus/rtu/mbrtu.c b/FreeModbus/modbus/rtu/mbrtu.c index aefa7bb..c023c92 100644 --- a/FreeModbus/modbus/rtu/mbrtu.c +++ b/FreeModbus/modbus/rtu/mbrtu.c @@ -330,10 +330,9 @@ xMBRTUTimerT35Expired( void ) xNeedPoll = xMBPortEventPost( EV_READY ); break; - /* A frame was received and t35 expired. Close serial receive and notify the listener that + /* A frame was received and t35 expired. Notify the listener that * a new frame was received. */ case STATE_RX_RCV: - vMBPortSerialEnable( FALSE, FALSE ); xNeedPoll = xMBPortEventPost( EV_FRAME_RECEIVED ); break; diff --git a/FreeModbus/modbus/rtu/mbrtu_m.c b/FreeModbus/modbus/rtu/mbrtu_m.c index e5c9267..4756f57 100644 --- a/FreeModbus/modbus/rtu/mbrtu_m.c +++ b/FreeModbus/modbus/rtu/mbrtu_m.c @@ -356,10 +356,9 @@ xMBMasterRTUTimerExpired(void) xNeedPoll = xMBMasterPortEventPost(EV_MASTER_READY); break; - /* A frame was received and t35 expired. Close serial receive and notify the listener that + /* A frame was received and t35 expired. Notify the listener that * a new frame was received. */ case STATE_M_RX_RCV: - vMBMasterPortSerialEnable( FALSE, FALSE ); xNeedPoll = xMBMasterPortEventPost(EV_MASTER_FRAME_RECEIVED); break;