commit | f0da6aa28012b4885c53973e7f97ba1a1e86d199 | [log] [tgz] |
---|---|---|
author | Austin Foxley <afoxley@google.com> | Fri Sep 08 20:48:00 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 08 20:48:00 2023 +0000 |
tree | 85c300de4eae245487f6447ffdd632b819022fb1 | |
parent | dd91bceb163e0d7e0b3e46db897e689199b8d1b8 [diff] |
pw_log_string: Fix the default impl to handle zero length va args Use PW_COMMA_ARGS to insert a comma only when __VA_ARGS__ is non zero length. Change-Id: I8bab80fdc18bab6ae77b8bc5ae9769e73acb8087 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/169975 Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com> Pigweed-Auto-Submit: Austin Foxley <afoxley@google.com> Reviewed-by: Taylor Cramer <cramertj@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/.