commit | fd7c677ca6e4d8cab04bdc12028e6fd36632e131 | [log] [tgz] |
---|---|---|
author | Scott James Remnant <keybuk@google.com> | Sat Apr 16 13:16:38 2022 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jun 10 21:04:38 2022 +0000 |
tree | d50e2686a70fe278c7a536f7a4e75463f138619e | |
parent | ee7729707ce0551541a9e1f6152aa8fd246f956e [diff] |
pw_protobuf: Don't encode fields with default (zero) values For better compatibility with other encoders, do not encode zero values of fixed and varint fields. Bug: pwbug/656 Change-Id: I2e0e0eee794208560876206d9978234afde0addc Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/91661 Pigweed-Auto-Submit: Scott James Remnant <keybuk@google.com> Commit-Queue: Scott James Remnant <keybuk@google.com> Reviewed-by: Armando Montanez <amontanez@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/