commit | 63fe8a220f92644d06ee15e3118e26a3c35e9817 | [log] [tgz] |
---|---|---|
author | Scott James Remnant <keybuk@google.com> | Mon Jun 13 10:56:00 2022 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jun 13 21:57:25 2022 +0000 |
tree | 28c00277865b698a071b7c8251e0c20067d1d91b | |
parent | 28d1ee245018303507bd56e06db39ff2963655bd [diff] |
pw_protobuf: Don't write empty nested messages When using the message-struct based API, do not write out a zero-sized field for a nested struct that has all default fields. Change-Id: I56f40ebf710b776371693e4ce2b27312244f2c6c Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/97900 Reviewed-by: Armando Montanez <amontanez@google.com> Commit-Queue: Scott James Remnant <keybuk@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/