Trond Enger / d7a_1x

Fork of d7a_1x by WizziLab

Revision:
80:30265d5dd20a
Parent:
79:82b01c1a62f6
Child:
82:5d1b101b6d11
--- a/src/d7a_com.cpp	Wed Dec 21 15:08:51 2016 +0000
+++ b/src/d7a_com.cpp	Wed Dec 21 15:47:15 2016 +0000
@@ -12,10 +12,10 @@
 
 #if 1
     #define COM_DPRINT(...)         DPRINT(__VA_ARGS__)
-    #define DPRINT_DATA(...)        DPRINT_DATA(__VA_ARGS__)
+    #define COM_DPRINT_DATA(...)    DPRINT_DATA(__VA_ARGS__)
 #else
     #define COM_DPRINT(...);
-    #define DPRINT_DATA(...);
+    #define COM_DPRINT_DATA(...);
 #endif
 
 #define XON_SIGNAL              (0x0001 << 0)
@@ -26,8 +26,6 @@
     uint8_t buf[1];
 } d7a_com_tx_buf_t;
 
-static bool                         g_com_rx_started;
-static bool                         g_com_tx_started;
 static uint8_t                      g_com_state;
 static DigitalOut*                  g_com_rts;
 static InterruptIn*                 g_com_cts;