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) {