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:
parent
09574e68eb
commit
5049ac48c0
1 changed files with 4 additions and 1 deletions
|
|
@ -19,8 +19,11 @@ config ZCBOR_CANONICAL
|
||||||
indefinite-length arrays (it will still decode them properly).
|
indefinite-length arrays (it will still decode them properly).
|
||||||
|
|
||||||
config ZCBOR_STOP_ON_ERROR
|
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
|
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
|
This makes all functions abort their execution if called when an error
|
||||||
has already happened.
|
has already happened.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue