Reformat generated .pb.c files using macros.
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>
Sat, 16 Feb 2013 22:10:47 +0000 (00:10 +0200)
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>
Sat, 16 Feb 2013 22:10:47 +0000 (00:10 +0200)
commit258ba8335dd2b54ee9ce934782239f357bca3581
tree5376ebdfc8030bd9927743b483c2401e44969935
parent9d3d7b57303c6d6feaa1f7e79d7a09d8b5bacfa2
Reformat generated .pb.c files using macros.

This has the following advantages:
1) Easier to modify pb_field_t encoding
2) Simpler generator logic
3) Tidier looking, easier to read .pb.c files

Update issue 58
Status: FixedInGit
generator/nanopb_generator.py
pb.h