相关代码 |
|
// dbg.c #include "dbg.h" #ifdef DEBUG DBGPARAM dpCurSettings = { TEXT("SychipGspx"), { TEXT("Init"), TEXT("Interrupt"), TEXT("Transmit"), TEXT("Receive"), TEXT("Command"), TEXT("Function"), TEXT("Misc"), TEXT("Undefined"), TEXT("Undefined"), TEXT("Undefined"), TEXT("Undefined"), TEXT("Undefined"), TEXT("Undefined"), TEXT("Undefined"), TEXT("Warning"), TEXT("Error") }, DBG_DEFAULT }; FILE *LogFile = NULL; #endif //ifdef DEBUG