From a46ed9f47523712861741c4bb1c42382933467be Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Fri, 3 Jan 2014 11:17:39 +0200 Subject: Fix problem with callback-type fields (issue #99). --- generator/nanopb_generator.py | 1 + 1 file changed, 1 insertion(+) (limited to 'generator/nanopb_generator.py') 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"): -- cgit 1.2.3-korg