Firmware SDK
twr_error.h
1 #ifndef _TWR_ERROR_H
2 #define _TWR_ERROR_H
3 
4 #include <twr_common.h>
5 
6 typedef enum
7 {
8  TWR_ERROR_NOT_ENOUGH_TASKS = 0,
9  TWR_ERROR_LOG_NOT_INITIALIZED = 1,
10  TWR_ERROR_ERROR_UNLOCK = 2,
11  TWR_ERROR_CALLBACK = 3,
12  TWR_ERROR_INVALID_PARAMETER = 4,
13 
14 } twr_error_t;
15 
16 void twr_error(twr_error_t code);
17 
18 #endif // _TWR_ERROR_H