Updated rx_fsm for Win32 port. Used for monitoring ms/tp stream from USB-RS485 dongle.

This commit is contained in:
skarg
2007-08-10 00:21:27 +00:00
parent 464276a011
commit 27f2b9960a
3 changed files with 20 additions and 6 deletions
+2 -2
View File
@@ -277,12 +277,12 @@ void RS485_Send_Frame(
uint8_t * buffer, /* frame to send (up to 501 bytes of data) */
uint16_t nbytes) /* number of bytes of data (up to 501) */
{
uint8_t turnaround_time;
uint32_t baud;
DWORD dwWritten = 0;
#if 0
if (mstp_port) {
uint32_t baud;
uint8_t turnaround_time;
baud = RS485_Get_Baud_Rate();
/* wait about 40 bit times since reception */
if (baud == 9600)