zcbor: Kconfig: Clarify docs for the ZCBOR_STOP_ON_ERROR config

Specify that it must also be enabled in code.

Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
This commit is contained in:
Øyvind Rønningstad 2024-09-17 14:27:54 +02:00 committed by David Leach
parent 09574e68eb
commit 5049ac48c0
1 changed files with 4 additions and 1 deletions

View File

@ -19,8 +19,11 @@ config ZCBOR_CANONICAL
indefinite-length arrays (it will still decode them properly).
config ZCBOR_STOP_ON_ERROR
bool "Stop on error when processing"
bool "Stop on error when processing (Must also be enabled in state var)"
help
Make the stop_on_error functionality available. Note that it still
needs to be enabled in the state variable
(`state->constant_state->stop_on_error`).
This makes all functions abort their execution if called when an error
has already happened.