Temporary fix for tdma compilitaion error
authorbaobrien <baobrien@01035d8c-6547-0410-b346-abe4f91aad63>
Tue, 3 Oct 2017 08:58:45 +0000 (08:58 +0000)
committerbaobrien <baobrien@01035d8c-6547-0410-b346-abe4f91aad63>
Tue, 3 Oct 2017 08:58:45 +0000 (08:58 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@3379 01035d8c-6547-0410-b346-abe4f91aad63

codec2-dev/src/tdma.c

index bb9376aa0e1c3f539b8919bae05c6c62fcf46bf2..59dae3940ac4094057c9c3bca3c556fd217c27ba 100644 (file)
@@ -338,8 +338,9 @@ void tdma_deframe_cbcall(u8 demod_bits[], u32 slot_i, tdma_t * tdma, slot_t * sl
     }
 
     /* Right now we're not actually deframing the bits */
+    /* TODO: actually extract UW type */
     if(tdma->rx_callback != NULL){
-        tdma->rx_callback(frame_bits,slot_i,slot,tdma,tdma->rx_cb_data);
+        tdma->rx_callback(frame_bits,slot_i,slot,tdma,0,tdma->rx_cb_data);
     }
 }