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

📄 zc0301_debug.h

📁 在LINUX下编译的摄像头驱动源码,有MAKE文件
💻 H
字号:
/*	This file contains all the debug functions using in this driver. * *	It is created by WE.XCC at 2008.05.03
 *
 *	Author's E-mail:84318391@163.com */#ifndef _ZC0301_DEBUG_H_#define _ZC0301_DEBUG_H_#define DEBUG          0xff    /*main switch*/#define DEBUG_INFO     0x01    /*to print tip informations*/#define DEBUG_ERROR    0x02    /*to print error informations*/#define DEBUG_PARAM    0x04    /*to print informations with param(s)*/#define debug_info(info)                	 \	do { if (DEBUG & DEBUG_INFO)             \           { printk(KERN_INFO "%s", info); }}    while(0)#define debug_error(error)              	 \	do { if (DEBUG & DEBUG_ERROR)            \           { printk(KERN_INFO "%s", error); }}    while(0)#define debug_param(args...)             	 \	do { if (DEBUG & DEBUG_PARAM)		 \           { printk(KERN_INFO args); }}          while(0)#endif

⌨️ 快捷键说明

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