From 838a4a80c748643183b88cc72235f6107a7de493 Mon Sep 17 00:00:00 2001 From: baobrien Date: Tue, 21 Feb 2017 01:45:01 +0000 Subject: [PATCH] A bit more work on the TDMA header git-svn-id: https://svn.code.sf.net/p/freetel/code@3040 01035d8c-6547-0410-b346-abe4f91aad63 --- codec2-dev/src/tdma.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/codec2-dev/src/tdma.h b/codec2-dev/src/tdma.h index f0e45898..faf98881 100644 --- a/codec2-dev/src/tdma.h +++ b/codec2-dev/src/tdma.h @@ -50,13 +50,16 @@ enum tdma_state { /* TDMA slot struct */ struct TDMA_SLOT { - struct FSK * fsk; /* The FSK modem for this slot */ - enum slot_state state; + struct FSK * fsk; /* The FSK modem for this slot */ + enum slot_state state; /* Current local slot state */ + int slot_local_frame_offset; /* Where the RX frame starts, in samples, from the perspective of the modem */ + struct TDMA_SLOT * next_slot; /* Next slot in a linked list of slots */ + }; /* TDMA modem */ struct TDMA_MODEM { - + }; #endif -- 2.25.1