summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgenerator/nanopb_generator.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/generator/nanopb_generator.py b/generator/nanopb_generator.py
index dea9098b..094f8e85 100755
--- a/generator/nanopb_generator.py
+++ b/generator/nanopb_generator.py
@@ -169,6 +169,7 @@ class Field:
self.max_count = None
self.array_decl = ""
self.enc_size = None
+ self.ctype = None
# Parse field options
if field_options.HasField("max_size"):