除了显示驱动,其余全部测试通过
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#ifndef APP_LOG_H
|
||||
#define APP_LOG_H
|
||||
|
||||
#include "app_config.h"
|
||||
#include "system/generic/printf.h"
|
||||
|
||||
/*
|
||||
* APP_LOG 使用独立的 user_printf 输出。
|
||||
* 这样关闭 SDK printf 后,仍可保留 JL-AIBT-SoundBox 自己的日志。
|
||||
*/
|
||||
#if defined(CONFIG_USER_DEBUG_ENABLE) && \
|
||||
defined(CONFIG_APP_LOG_ENABLE) && \
|
||||
CONFIG_APP_LOG_ENABLE
|
||||
|
||||
#define APP_LOG(...) user_printf(__VA_ARGS__)
|
||||
|
||||
#else
|
||||
|
||||
#define APP_LOG(...) do { } while (0)
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user