hsu han-lin
/
Modbus_Test
from Cam Marshall original modbus
Fork of Modbus by
Diff: Modbus/porttimer.cpp
- Revision:
- 2:5f360876388e
- Parent:
- 1:7dc3a566a85a
- Child:
- 5:c712a10c9414
diff -r 7dc3a566a85a -r 5f360876388e Modbus/porttimer.cpp --- a/Modbus/porttimer.cpp Thu Mar 02 12:08:11 2017 +0000 +++ b/Modbus/porttimer.cpp Mon Mar 13 21:07:48 2017 +0800 @@ -40,7 +40,8 @@ BOOL xMBPortTimersInit( USHORT usTim1Timerout50us ) { - usInterval = 50 * usTim1Timerout50us; + //usInterval = 50 * usTim1Timerout50us; + usInterval = 200 * usTim1Timerout50us; //10ms timeout ®É¶¡§ì9600bps 10byte ªº®É¶¡ stanley return TRUE; }