diff --git a/src/vcm.c b/src/vcm.c index ed5e53e..5f8c580 100644 --- a/src/vcm.c +++ b/src/vcm.c @@ -246,6 +246,8 @@ static int vcm_check_handle_request(VCM_t* vcm, mc_neighbour_s* neighbour) { itss_queue_send(facilities.tx_queue, buf1, enc.encoded+1, ITSS_APPLICATIONS, bpr->id, "FI.message"); + coordination->t_last_send_vcm = now; + if (facilities.logging.recorder) { uint16_t buffer_len = 2048; uint8_t buffer[buffer_len]; @@ -541,6 +543,8 @@ static int intersection_detected(VCM_t* vcm, mc_neighbour_s* neighbour) { itss_queue_send(facilities.tx_queue, buf, enc.encoded+1, ITSS_APPLICATIONS, bpr->id, "FI.message"); + coordination->t_last_send_vcm = now; + if (facilities.logging.recorder) { uint16_t buffer_len = 2048; uint8_t buffer[buffer_len];