summaryrefslogtreecommitdiffstats
path: root/examples/using_double_on_avr/doubleproto.proto
diff options
context:
space:
mode:
Diffstat (limited to 'examples/using_double_on_avr/doubleproto.proto')
-rw-r--r--examples/using_double_on_avr/doubleproto.proto2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/using_double_on_avr/doubleproto.proto b/examples/using_double_on_avr/doubleproto.proto
index d8b7f2db..72d3f9c1 100644
--- a/examples/using_double_on_avr/doubleproto.proto
+++ b/examples/using_double_on_avr/doubleproto.proto
@@ -1,4 +1,6 @@
// A message containing doubles, as used by other applications.
+syntax = "proto2";
+
message DoubleMessage {
required double field1 = 1;
required double field2 = 2;