16 #define ASSERT(cond, msg) if(!(cond)){assert_failed(msg, __PRETTY_FUNCTION__, __LINE__);}
18 #define ASSERT(cond, msg)
21 #ifndef CHECKSUM_ERROR_STATUS
22 #define CHECKSUM_ERROR_STATUS -10
24 #ifndef OUT_OF_MEMORY_ERROR_STATUS
25 #define OUT_OF_MEMORY_ERROR_STATUS -20
27 #ifndef CONFIGURATION_ERROR_STATUS
28 #define CONFIGURATION_ERROR_STATUS -30
30 #ifndef PROGRAM_ERROR_STATUS
31 #define PROGRAM_ERROR_STATUS -40
42 void error(int8_t code,
const char* reason);
char * msg_itoa(int val, int base)
void debugMessage(const char *msg)
char * msg_ftoa(float val, int base)
void error(int8_t code, const char *reason)
void assert_failed(const char *msg, const char *location, int line)