23 lines
404 B
C
23 lines
404 B
C
|
/*
|
||
|
* Copyright (c) 2006-2018, RT-Thread Development Team
|
||
|
*
|
||
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
*
|
||
|
* Change Logs:
|
||
|
* Date Author Notes
|
||
|
* 2017-08-24 chinesebear first version
|
||
|
*/
|
||
|
|
||
|
#ifndef __DEBUG_H__
|
||
|
#define __DEBUG_H__
|
||
|
|
||
|
//#define GMAC_DEBUG
|
||
|
#include <rtthread.h>
|
||
|
#ifdef GMAC_DEBUG
|
||
|
#define DEBUG_MES rt_kprintf
|
||
|
#else
|
||
|
#define DEBUG_MES(...)
|
||
|
#endif
|
||
|
|
||
|
#endif /*__DEBUG_H__*/
|