headset_debug.h

来自「BlueLab 3.5.2 单声道耳机源码」· C头文件 代码 · 共 88 行

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

FILE NAME
    headset_debug.h
    
DESCRIPTION
    
*/

#ifndef _HEADSET_DEBUG_H_
#define _HEADSET_DEBUG_H_





/*the debug definition*/


#define DEBUG_PRINT_ENABLEDx

#ifdef DEBUG_PRINT_ENABLED
#define DEBUG(x) {printf x;}
#else
#define DEBUG(x) 
#endif

/*The individual Debug enables*/

    /*The main system messages*/
#define DEBUG_MAIN
    /*The main system message parse routine*/
#define DEBUG_MESSAGESx
    /*The panic malloc routine*/
#define DEBUG_MALLOCx
    

    /*The button manager */
#define DEBUG_BUT_MAN
    /*The low level button parsing*/
#define DEBUG_BUTTONSx

    /*The call manager*/
#define DEBUG_CALL_MAN

    /* headset_sco.c*/
#define DEBUG_SCOx

#define DEBUG_AUDIO

 /* headset_slc.c */
#define DEBUG_SLC

    /*The charger */
#define CHARGER_DEBUGx

    /*The battery */
#define BAT_DEBUGx
    
    /*The config manager */
#define DEBUG_CONFIGx

    /*The LED manager */
#define DEBUG_LMx

    /*The Lower level LED drive */
#define DEBUG_LEDSx

    /*The Lower lvel PIO drive*/
#define DEBUG_PIOx

    /*The power Manager*/
#define DEBUG_POWERx

    /*Sound manager*/
#define DEBUG_SOUNDSx

    /*State manager*/
#define DEBUG_STATES

    /*3 way calling*/
#define DEBUG_THREEWAYx

#endif

⌨️ 快捷键说明

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