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 85 of file app_drv_error.h.

APP_DRV_SUCCESS
#define APP_DRV_SUCCESS
Definition: app_drv_error.h:67