⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 debug.h

📁 CS8900A driver source code project files for Code Composer Studio precompiled static uIP-DSP libra
💻 H
字号:
// ------------------------------------------------------------------------
/// @file debug.h
/// @brief Debugging
/// @author Harald Axmann
/// @date 08.05.2006
// ------------------------------------------------------------------------

#ifndef _DEBUG_H_
#define _DEBUG_H_

#ifdef _DEBUG

#define INF 0
#define WRN 1
#define ERR 2

// declare the buffer here, so that it is accessible from the whole program
extern char debug_buffer_[];

void _DEBUG_(int, const char *format, ...);

#else // _DEBUG

#define INF 0
#define WRN 1
#define ERR 2

static inline void _DEBUG_(...) {}

#endif // _DEBUG

#define DEBUG _DEBUG_

#endif // _DEBUG_H_

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -