Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nrf_rpc: enable zcbor stop_on_error flag for decoding
The zcbor's stop_on_error flag, which defaults to false, makes the decoder stop decoding any subsequent items after a decoding error occurs, meaning that all subsequent decoding attempts fail early until the error is cleared with zcbor_pop_error() function. This flag is already set for the encoder yet it was omitted for the decoder although some nRF RPC decoder functions seem to rely the flag being set as they only check the decoding result after trying to decode all the command or response arguments. Signed-off-by: Damian Krolik <[email protected]>
- Loading branch information