Nordic Thingy:52
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Common macros

A set of useful macros. More...

Macros

#define DEBUG_PRINTF(...)
 global debug flag will enable debug print from all files
 
#define NULL_PARAM_CHECK(param)
 Check if the input pointer is NULL, if so it returns NRF_ERROR_NULL.
 
#define RETURN_IF_ERROR(err_code)
 Check if the error code is equal to NRF_SUCCESS, if not return the error code.
 

Detailed Description

A set of useful macros.