commit | 84f6037a3429a5d03195d40b226e00c67dcb6819 | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Fri Feb 04 11:55:49 2022 -0800 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Feb 04 22:11:22 2022 +0000 |
tree | 7a8aa3e3abe5ab2ff9e3b1c7a70269ed518d97d2 | |
parent | 3fc343edeeca90bef8e9e4903f2fcffd725361ae [diff] |
pw_blob_store: Avoid unnecessary asserts Return FAILED_PRECONDITION rather than asserting if methods are called on a closed reader/writer. Change-Id: I85af056b95e6939a4599bfee3e654be24bbc0618 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/82947 Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Reviewed-by: Keir Mierle <keir@google.com> Commit-Queue: Wyatt Hepler <hepler@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/