Trond Enger / d7a_1x

Fork of d7a_1x by WizziLab

Revision:
43:28202405094d
Parent:
37:e04613e021f2
Child:
44:8ebe6b70f932
diff -r c1e7f97ab396 -r 28202405094d include/d7a_com.h
--- a/include/d7a_com.h	Thu Aug 25 09:38:40 2016 +0000
+++ b/include/d7a_com.h	Tue Aug 30 16:59:12 2016 +0000
@@ -4,14 +4,8 @@
 #include "mbed.h"
 #include "rtos.h"
 #include "d7a_common.h"
+#include "d7a.h"
 
-typedef struct {
-     PinName tx;
-     PinName rx;
-     PinName rts;
-     PinName cts;
-     uint16_t rx_buffer_size;
-} d7a_com_config_t;
 
 typedef enum
 {
@@ -179,7 +173,7 @@
 void d7a_com_post_msg(d7a_com_tx_msg_t* msg);
 void d7a_com_dump(uint8_t* buf, uint8_t len, d7a_com_flow_t flow);
 void d7a_com_force_dump(uint8_t* buf, uint8_t len, d7a_com_flow_t flow);
-d7a_com_rx_msg_t* d7a_com_wait_pkt( uint32_t millisec = osWaitForever );
+d7a_com_rx_msg_t* d7a_com_wait_pkt(uint32_t millisec = osWaitForever);
 void d7a_com_start_rx(void);
 void d7a_com_stop_rx(void);
 void d7a_com_start_tx(void);