summaryrefslogtreecommitdiffstats
path: root/generator/proto/nanopb.proto
diff options
context:
space:
mode:
Diffstat (limited to 'generator/proto/nanopb.proto')
-rw-r--r--generator/proto/nanopb.proto3
1 files changed, 3 insertions, 0 deletions
diff --git a/generator/proto/nanopb.proto b/generator/proto/nanopb.proto
index 3f2ed8e0..b8671bbd 100644
--- a/generator/proto/nanopb.proto
+++ b/generator/proto/nanopb.proto
@@ -51,6 +51,9 @@ message NanoPBOptions {
// accesses to variables.
optional bool packed_struct = 5 [default = false];
+ // Add 'packed' attribute to generated enums.
+ optional bool packed_enum = 10 [default = false];
+
// Skip this message
optional bool skip_message = 6 [default = false];