Macros
App Driver error code check
Peripheral Driver » APP DRIVER » ERROR DEFINE » Defines

## Macros
#define | APP_DRV_ERR_CODE_CHECK(err_code)
| App Driver error code check. More...

## Detailed Description

## Macro Definition Documentation

## ◆ APP_DRV_ERR_CODE_CHECK

#define APP_DRV_ERR_CODE_CHECK | ( |  | err_code | ) |

Value:
do \
{ \
if (APP_DRV_SUCCESS != err_code) \
{ \
return err_code; \
} \
} while(0)

App Driver error code check.

Definition at line 82 of file app_drv_error.h.

APP_DRV_SUCCESS
#define APP_DRV_SUCCESS
Successful.
Definition: app_drv_error.h:67