Added unit test to rs485 windows port to allow sending a string of ascii hex out the rs485 port to inject messages onto the wire.

This commit is contained in:
skarg
2009-09-18 18:35:30 +00:00
parent 9646d8ad1a
commit d1f167c539
4 changed files with 95 additions and 14 deletions
+2 -2
View File
@@ -46,8 +46,8 @@ static uint32_t Baud_Rate = 9600;
/* turnaround_time_milliseconds = (Tturnaround*1000UL)/Baud_Rate; */
/* buffer for storing received bytes - size must be power of two */
static uint8_t Receive_Buffer_Data[128];
static FIFO_BUFFER Receive_Buffer;
uint8_t Receive_Buffer_Data[128];
FIFO_BUFFER Receive_Buffer;
static void rs485_rts_init(
void)