2019-10-24 17:56:09 +08:00
|
|
|
/*
|
2023-01-06 16:40:35 +08:00
|
|
|
* Copyright (c) 2006-2023, RT-Thread Development Team
|
2019-10-24 17:56:09 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
* 2018-11-15 SummerGift first version
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* NOTE: DO NOT include this file on the header file.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef LOG_TAG
|
|
|
|
#define DBG_TAG "drv"
|
|
|
|
#else
|
|
|
|
#define DBG_TAG LOG_TAG
|
|
|
|
#endif /* LOG_TAG */
|
|
|
|
|
|
|
|
#ifdef DRV_DEBUG
|
|
|
|
#define DBG_LVL DBG_LOG
|
|
|
|
#else
|
|
|
|
#define DBG_LVL DBG_INFO
|
|
|
|
#endif /* DRV_DEBUG */
|
|
|
|
|
|
|
|
#include <rtdbg.h>
|