From 6edf4f3f8240a9a3542374d998502076b3472a22 Mon Sep 17 00:00:00 2001 From: emanuel Date: Thu, 15 Jun 2023 15:52:53 +0100 Subject: [PATCH] VCM fix heading conf on reject --- src/vcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vcm.c b/src/vcm.c index 3b147f5..c357f18 100644 --- a/src/vcm.c +++ b/src/vcm.c @@ -179,7 +179,7 @@ static void vcm_reject(VCM_t* vcm, mc_neighbour_s* neighbour) { lat = epv.space.latitude; lon = epv.space.longitude; heading = epv.space.heading; - heading = epv.space.heading_conf; + heading_conf = epv.space.heading_conf; itss_space_unlock(); uint64_t now = itss_time_get();