summaryrefslogtreecommitdiffstats
path: root/src/can-utils.h
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-02-16 17:57:10 +0000
committerRomain Forlot <romain.forlot@iot.bzh>2017-02-16 17:57:10 +0000
commit2bdeaadae3c547c48bda330adc7a9d1ab8833265 (patch)
tree40e75708b14576fe3e895aece99d16b962c25abe /src/can-utils.h
parent33fd70ab601d6a7a5cb561f3c0eca06d3677a535 (diff)
Change way signaling end of queue for can messages
and vehicle messages Change-Id: I98fbc5995ff08facc5430cce92830aa878dc3dc9 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/can-utils.h')
-rw-r--r--src/can-utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/can-utils.h b/src/can-utils.h
index 71c0fccf..16763926 100644
--- a/src/can-utils.h
+++ b/src/can-utils.h
@@ -115,9 +115,11 @@ class can_bus_t {
can_message_t* next_can_message();
void insert_new_can_message(can_message_t &can_msg);
+ bool has_can_message_;
openxc_VehicleMessage* next_vehicle_message();
void insert_new_vehicle_message(openxc_VehicleMessage *v_msg);
+ bool has_vehicle_message_;
};
/* A compact representation of a single CAN message, meant to be used in in/out