commit | 60c4cef991b451c9d9d8bf19514eafeffa4dd486 | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Tue Mar 12 20:19:24 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Mar 12 20:19:24 2024 +0000 |
tree | 8303396e6cc4feadc3d388e0a7697e43bb320d06 | |
parent | caac07d3a5c440b6d93772261146d4196c037bc8 [diff] |
pw_channel: Handle closed channels in base - Do not call the inner Do* functions if the channel is closed. - Always close channels after DoPollClose() returns Ready(). - Support setting open_ = false in derived classes. Change-Id: Ib7eeaf1aa4999d53346f40e17e3ed9e524682e3e Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/194739 Reviewed-by: Taylor Cramer <cramertj@google.com> Commit-Queue: Wyatt Hepler <hepler@google.com> Pigweed-Auto-Submit: 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/.