mirror of
https://github.com/goldenfishs/MRobot.git
synced 2025-04-28 23:39:55 +08:00
16 lines
220 B
C
16 lines
220 B
C
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#define DEVICE_OK (0)
|
|
#define DEVICE_ERR (-1)
|
|
#define DEVICE_ERR_NULL (-2)
|
|
#define DEVICE_ERR_INITED (-3)
|
|
#define DEVICE_ERR_NO_DEV (-4)
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|