17 lines
234 B
C
17 lines
234 B
C
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#define BSP_OK (0)
|
|
#define BSP_ERR (-1)
|
|
#define BSP_ERR_NULL (-2)
|
|
#define BSP_ERR_INITED (-3)
|
|
#define BSP_ERR_NO_DEV (-4)
|
|
#define BSP_ERR_TIMEOUT (-5)
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|