tiz
Dependencies: TextLCD X_NUCLEO_IKS01A1 func mbed-src mbed
Fork of mas by
Diff: func/Error.h
- Revision:
- 1:1df80fe13928
diff -r 99767aa66bce -r 1df80fe13928 func/Error.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/func/Error.h Thu Dec 10 18:51:28 2015 +0000 @@ -0,0 +1,13 @@ +#include "mbed.h" + +#ifndef __ERROR_H__ +#define __ERROR_H__ + +enum ErrorCode{ + ERROR_UNKNOW, + ERROR_CONFIG +}; + +void raise_error(ErrorCode ec); + +#endif //__ERROR_H__ \ No newline at end of file