Commit 846e56be authored by Ian McInerney's avatar Ian McInerney

Made a slight change to the deck driver

parent 3972b2ae
......@@ -52,7 +52,7 @@
#define RX_TIMEOUT 1000
#define TDMA_NSLOTS_BITS 2
#define TDMA_NSLOTS_BITS 4
//#define TDMA_SLOT 3
// TDMA handling
......@@ -151,10 +151,13 @@ static bool ranging_complete = false;
static lpsAlgoOptions_t* options;
void setTDMAslot(int slotNumber) {
TDMA_SLOT = slotNumber;
TAG_ADDRESS = 8 + TDMA_SLOT;
tag_address[0] = TAG_ADDRESS;
tdmaSynchronized = false;
}
static void txcallback(dwDevice_t *dev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment