void Debug_vc(const char* fmt, ...) { va_list ap; char buf[1024]; va_start(ap, fmt); vsprintf(buf, fmt, ap); va_end(ap); LOGD("Debug_vc %s", buf); // Uart_DebugSendBuf((unsigned char*) buf, strlen(buf)); }