Code Review
/
apps
/
agl-service-can-low-level.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
cmake: Auto discover NANOPB_SRC_ROOT_FOLDER
[apps/agl-service-can-low-level.git]
/
examples
/
using_union_messages
/
unionproto.proto
diff --git
a/examples/using_union_messages/unionproto.proto
b/examples/using_union_messages/unionproto.proto
index
d7c9de2
..
209df0d
100644
(file)
--- a/
examples/using_union_messages/unionproto.proto
+++ b/
examples/using_union_messages/unionproto.proto
@@
-5,6
+5,8
@@
// but they are commonly implemented by filling out exactly one of
// several optional fields.
+syntax = "proto2";
+
message MsgType1
{
required int32 value = 1;