pw_bluetooth_sapphire: Guard null callback in AcknowledgeRead Check that return_credits_callback_ is non-null before sharing and invoking it in CreditBasedFlowControlRxEngine::AcknowledgeRead, and add unit tests covering multiple AcknowledgeRead calls across SDUs as well as null return_credits_callback_ handling. Bug: b/525203197 Change-Id: I4f33a92dba24779b3bcc4972f5058f2a1d14780c Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/490174
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/.