summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2021-11-24 17:38:15 +0800
committerGitHub <[email protected]>2021-11-24 17:38:15 +0800
commit6a6b43fe3e3e75b3bbcc838f7f3d0060e33c5386 (patch)
tree82603ece690c334261268e93731cce4daa8f9559 /components
parentf11113f55780a71345bbd0dffda6e3b904fc76da (diff)
parentcefc77ad11039eb0f93162fde3b8584c880dcf12 (diff)
Merge pull request #5261 from mysterywolf/weak
[kernel] prepare to support full functional sprintf-family functions
Diffstat (limited to 'components')
-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__)
/**