Browse Source

[sfud][cfg] 取消rt_kprintf声明

Meco Man 3 years ago
parent
commit
040f05f40d
1 changed files with 1 additions and 2 deletions
  1. 1 2
      components/drivers/spi/sfud/inc/sfud_cfg.h

+ 1 - 2
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__)
 
 /**