Use better KPrintf
This commit is contained in:
@@ -29,6 +29,8 @@ Modification:
|
||||
*************************************************/
|
||||
#pragma once
|
||||
|
||||
#include "uart_common_ope.h"
|
||||
|
||||
#define OUTPUT_LEVLE_LOG 0
|
||||
#define OUTPUT_LEVLE_DEBUG 1
|
||||
#define OUTPUT_LEVLE_ERROR 2
|
||||
@@ -36,8 +38,6 @@ Modification:
|
||||
#define OUTPUT_LEVLE OUTPUT_LEVLE_DEBUG
|
||||
// #define OUTPUT_LEVLE OUTPUT_LEVLE_LOG
|
||||
|
||||
extern void KPrintf(char* fmt, ...);
|
||||
|
||||
#if (OUTPUT_LEVLE >= OUTPUT_LEVLE_LOG)
|
||||
#define LOG_PRINTF(f, args...) \
|
||||
KPrintf(f, ##args)
|
||||
|
||||
Reference in New Issue
Block a user