summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-11-16 12:12:47 -0500
committerMeco Man <[email protected]>2021-11-16 12:12:47 -0500
commit040f05f40d16bd2d25de44d16029e21300f44253 (patch)
tree54087346060cb6644e83db98389cf0a91043991c
parente82fe76a0fccd87f9dd801ee5a5f3a359b357aaf (diff)
[sfud][cfg] 取消rt_kprintf声明
-rw-r--r--components/drivers/spi/sfud/inc/sfud_cfg.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/drivers/spi/sfud/inc/sfud_cfg.h b/components/drivers/spi/sfud/inc/sfud_cfg.h
index 01255775c8..59859149aa 100644
--- a/components/drivers/spi/sfud/inc/sfud_cfg.h
+++ b/components/drivers/spi/sfud/inc/sfud_cfg.h
@@ -29,7 +29,7 @@
#ifndef _SFUD_CFG_H_
#define _SFUD_CFG_H_
-#include <rtconfig.h>
+#include <rtthread.h>
/**
* It will print more information on debug mode.
@@ -47,7 +47,6 @@
#define DBG_TAG "SFUD"
#include <rtdbg.h>
-extern void rt_kprintf(const char *fmt, ...);
#define SFUD_INFO(...) LOG_I(__VA_ARGS__)
/**