We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7498920 commit c57f0e5Copy full SHA for c57f0e5
src/bsp_sd.h
@@ -44,7 +44,11 @@ extern "C" {
44
#endif
45
46
/* Includes ------------------------------------------------------------------*/
47
+#include "stm32_def.h"
48
+#if !defined(STM32_CORE_VERSION) || (STM32_CORE_VERSION <= 0x01050000)
49
#include "variant.h"
50
+#endif
51
+
52
/* Could be redefined in variant.h or using build_opt.h */
53
#ifndef SD_DATATIMEOUT
54
#define SD_DATATIMEOUT 100000000U
0 commit comments