Convert osStatus to string
Diff: RTOSerrstr.h
- Revision:
- 1:38e7b2a405d5
- Parent:
- 0:3dc7afd73ac9
- Child:
- 2:55205e357147
--- a/RTOSerrstr.h Sun Jun 11 12:38:58 2017 +0000 +++ b/RTOSerrstr.h Mon Jun 12 06:05:24 2017 +0000 @@ -1,6 +1,11 @@ /** * */ +#ifndef RTOS_ERR_STR_H +#define RTOS_ERR_STR_H + +#define RTOS_ERR_STR_MAJOR (0) +#define RTOS_ERR_STR_MAJOR (1) #ifdef __cplusplus extern "C" { @@ -9,9 +14,10 @@ * @fn getOsStatusStr * @param [in] status */ - extern const char * getOsStatusStr(osStatus status); #ifdef __cplusplus } -#endif /* __cplusplus */ \ No newline at end of file +#endif /* __cplusplus */ + +#endif /* RTOS_ERR_STR_H */ \ No newline at end of file