headset_debug.h

来自「蓝牙立体声耳机 firmware」· C头文件 代码 · 共 60 行

H
60
字号
/***************************************************************************
Copyright (C) Cambridge Silicon Radio Ltd. 2005-2006
Part of BlueLab 3.6.2-release

FILE NAME
    headset_debug.h
    
DESCRIPTION
    
*/

#ifndef _HEADSET_DEBUG_H_
#define _HEADSET_DEBUG_H_


#ifdef DEBUG_PRINT_ENABLED
#include <stdio.h>
#define DEBUG(x) {printf x;}
#else
#define DEBUG(x) 
#endif

/*The individual Debug enables*/

/*The main system messages*/
#define DEBUG_MAIN

/*The a2dp handler messages*/
#define DEBUG_A2DPx
/*The hfp audio messages*/
#define DEBUG_AUDIOx
/*The avrcp messages*/
#define DEBUG_AVRCPx
/*The av stream control messages*/
#define DEBUG_AVSTREAMx
/*The battery/charger messages*/
#define DEBUG_BATx
/*The button messages*/
#define DEBUG_BUTTONS
/*The common functionality messages*/
#define DEBUG_COMMONx

/*The hfp handler messages*/
#define DEBUG_HFPx
/*The initialisation messages*/
#define DEBUG_INITx
/*The power messages*/
#define DEBUG_POWER
/*The ring messages*/
#define DEBUG_RINGx
/*The tone messages*/
#define DEBUG_TONES
/*The volume messages*/
#define DEBUG_VOLUME
/*The LED messages*/
#define DEBUG_LEDSx

#endif

⌨️ 快捷键说明

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