summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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__)
/**