summaryrefslogtreecommitdiffstats
path: root/gen/cpp/openxc.pb.c
diff options
context:
space:
mode:
authorChristopher Peplin <chris.peplin@rhubarbtech.com>2014-10-06 23:25:13 -0400
committerChristopher Peplin <chris.peplin@rhubarbtech.com>2014-10-06 23:25:13 -0400
commitd17a9c7988b05e70607d1eb823fbe160d0a4c506 (patch)
tree092615416cbda9d488bec8be210230d32c62320d /gen/cpp/openxc.pb.c
parent9682309b7d7450235bea95841f7442e6712db379 (diff)
Remove redundant 'type' field from binary SimpleVehicleMessage.
You can figure out the type based on the value and event DynamicFields. Fixed #19.
Diffstat (limited to 'gen/cpp/openxc.pb.c')
-rw-r--r--gen/cpp/openxc.pb.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/gen/cpp/openxc.pb.c b/gen/cpp/openxc.pb.c
index b9d6d955..ccde431b 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 Oct 6 23:12:27 2014. */
+/* Generated by nanopb-0.3.1 at Mon Oct 6 23:25:12 2014. */
#include "openxc.pb.h"
@@ -105,11 +105,10 @@ const pb_field_t openxc_DynamicField_fields[5] = {
PB_LAST_FIELD
};
-const pb_field_t openxc_SimpleMessage_fields[5] = {
- PB_FIELD( 1, ENUM , OPTIONAL, STATIC , FIRST, openxc_SimpleMessage, type, type, 0),
- PB_FIELD( 2, STRING , OPTIONAL, CALLBACK, OTHER, openxc_SimpleMessage, name, type, 0),
- PB_FIELD( 3, MESSAGE , OPTIONAL, STATIC , OTHER, openxc_SimpleMessage, value, name, &openxc_DynamicField_fields),
- PB_FIELD( 4, MESSAGE , OPTIONAL, STATIC , OTHER, openxc_SimpleMessage, event, value, &openxc_DynamicField_fields),
+const pb_field_t openxc_SimpleMessage_fields[4] = {
+ PB_FIELD( 1, STRING , OPTIONAL, CALLBACK, FIRST, openxc_SimpleMessage, name, name, 0),
+ PB_FIELD( 2, MESSAGE , OPTIONAL, STATIC , OTHER, openxc_SimpleMessage, value, name, &openxc_DynamicField_fields),
+ PB_FIELD( 3, MESSAGE , OPTIONAL, STATIC , OTHER, openxc_SimpleMessage, event, value, &openxc_DynamicField_fields),
PB_LAST_FIELD
};