Edge AI Add-on API 2.2.0
Loading...
Searching...
No Matches

◆ NRF_NN_RETURN_IF

#define NRF_NN_RETURN_IF ( is_true,
ret_val )

#include <include/nrf_edgeai/nn/platform/nrf_nn_platform_debug.h>

Value:
;

Macro for verifying that the provided condition is true. It will cause the exterior function to return an error value if it is not, only if runtime checks are enabled.

Parameters
[in]is_trueBoolean condition to check.
[in]ret_valThe value to be returned if the checks fails