diff options
author | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-10-06 21:30:28 -0400 |
---|---|---|
committer | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-10-06 21:30:39 -0400 |
commit | f340bc6909f84a83dbb8a4d7ca3ba1002b31b110 (patch) | |
tree | b4530764ad5e5b56eabf0e707b3a5ea84ff065e2 /gen/cpp/openxc.pb.c | |
parent | ab2066f086fa6cec7a29c019f51933023d4d5419 (diff) |
Add a field to CAN messages to explicitly set the frame format.
See openxc/vi-firmware:230.
Diffstat (limited to 'gen/cpp/openxc.pb.c')
-rw-r--r-- | gen/cpp/openxc.pb.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gen/cpp/openxc.pb.c b/gen/cpp/openxc.pb.c index ac31b7ec..3a5ca0ff 100644 --- a/gen/cpp/openxc.pb.c +++ b/gen/cpp/openxc.pb.c @@ -1,5 +1,5 @@ /* Automatically generated nanopb constant definitions */ -/* Generated by nanopb-0.3.1 at Mon Sep 29 21:53:25 2014. */ +/* Generated by nanopb-0.3.1 at Mon Oct 6 21:30:25 2014. */ #include "openxc.pb.h" @@ -19,10 +19,11 @@ const pb_field_t openxc_VehicleMessage_fields[7] = { PB_LAST_FIELD }; -const pb_field_t openxc_RawMessage_fields[4] = { +const pb_field_t openxc_RawMessage_fields[5] = { PB_FIELD( 1, INT32 , OPTIONAL, STATIC , FIRST, openxc_RawMessage, bus, bus, 0), PB_FIELD( 2, UINT32 , OPTIONAL, STATIC , OTHER, openxc_RawMessage, message_id, bus, 0), PB_FIELD( 3, BYTES , OPTIONAL, STATIC , OTHER, openxc_RawMessage, data, message_id, 0), + PB_FIELD( 4, ENUM , OPTIONAL, STATIC , OTHER, openxc_RawMessage, format, data, 0), PB_LAST_FIELD }; |