Skip to content

Commit

Permalink
zcbor: Kconfig: Clarify docs for the ZCBOR_STOP_ON_ERROR config
Browse files Browse the repository at this point in the history
Specify that it must also be enabled in code.

Signed-off-by: Øyvind Rønningstad <[email protected]>
  • Loading branch information
oyvindronningstad authored and dleach02 committed Oct 25, 2024
1 parent 09574e6 commit 5049ac4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules/zcbor/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 5049ac4

Please sign in to comment.