Trond Enger / d7a_1x

Fork of d7a_1x by WizziLab

Revision:
35:1fe2975c5a63
Parent:
34:1311cc53201a
Child:
37:e04613e021f2
--- a/src/d7a_com.cpp	Mon Aug 22 13:47:39 2016 +0000
+++ b/src/d7a_com.cpp	Mon Aug 22 14:49:11 2016 +0000
@@ -382,11 +382,9 @@
 static void d7a_com_new_pkt(d7a_com_rx_msg_t* pkt)
 {
     //FPRINT("\r\n");
-    if (KAL_COM_FLOWID(pkt->id) != KAL_COM_FLOWID_TRC)
-    {
-        DPRINT("--> (0x%02X) %d\r\n", pkt->id, pkt->blen);
-    }
-    
+
+    DPRINT("--> (0x%02X) %d\r\n", pkt->id, pkt->blen);
+
     // Distribute packet types to processes
     switch (KAL_COM_FLOWID(pkt->id))
     {
@@ -419,9 +417,6 @@
                 d7a_sys_new_pkt(pkt);
             }
             break;
-        case KAL_COM_FLOWID_TRC:
-            FREE(pkt);
-            break;
         default:
             EPRINT("Untreated pkt type 0x%02X\r\n", pkt->id);
             FREE(pkt);