22 #define DEBUG_MSG(MSG, ...)\    23     osPrintf("%s:%d: debug: ", __FILE__, __LINE__);\    24     osPrintf(MSG, ##__VA_ARGS__)    26 #define DEBUG_MSG(MSG, ...)    32 #define THROW_ERROR(ERROR_TYPE)\    33     osPrintError(__FILE__, __LINE__, ERROR_TYPE)    38 #define THROW_WARNING(WARNING_TYPE)\    39     osPrintWarning(__FILE__, __LINE__, WARNING_TYPE) uint8_t osExplainError(const char *ifile, const uint8_t iline, const osError_t ierror, char *iomessage)
Definition: error.c:9
 
osWarning_t
Definition: ostypes.h:72
 
Different types the operating system uses are defined here. 
 
uint8_t osPrintWarning(const char *ifile, const int iline, const osWarning_t ierror)
Definition: error.c:77
 
osError_t
Definition: ostypes.h:56
 
uint8_t osExplainWarning(const char *ifile, const uint8_t iline, const osWarning_t ierror, char *iomessage)
Definition: error.c:57
 
File where all settings take place. 
 
uint8_t osPrintError(const char *ifile, const int iline, const osError_t ierror)
Definition: error.c:46