From 3f7cbc52fbc06aa023387d3fc06bc550bba5cf33 Mon Sep 17 00:00:00 2001 From: Kristoffer Richardsson Date: Tue, 22 May 2018 05:51:57 +0200 Subject: [PATCH] #315 Corrected pointers --- src/deck/drivers/src/lpsTdoa3Tag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deck/drivers/src/lpsTdoa3Tag.c b/src/deck/drivers/src/lpsTdoa3Tag.c index 4c41f91f57..ed0edd5710 100644 --- a/src/deck/drivers/src/lpsTdoa3Tag.c +++ b/src/deck/drivers/src/lpsTdoa3Tag.c @@ -525,7 +525,7 @@ static int updateRemoteData(anchorInfo_t* anchorCtx, const rangePacket3_t* packe } } - return anchorDataPtr - (void*)packet; + return (uint8_t*)anchorDataPtr - (uint8_t*)packet; } static void updateAnchorData(anchorInfo_t* anchorCtx, const rangePacket3_t* packet, const dwTime_t* arrival) {