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
+3
View File
@@ -46,6 +46,7 @@
#include "bytes.h"
#include "rs485.h"
#include "mstp.h"
#include "mstptext.h"
#include "crc.h"
#define INCREMENT_AND_LIMIT_UINT16(x) {if (x < 0xFFFF) x++;}
@@ -122,6 +123,8 @@ static void print_received_packet(
mstp_port->DataCRCActualMSB,
mstp_port->DataCRCActualLSB);
}
fprintf(stderr,"%s",
mstptext_frame_type(mstp_port->FrameType));
fprintf(stderr,"\n");
}