We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b43f0e7 commit 10695d6Copy full SHA for 10695d6
bsp/at32/libraries/rt_drivers/drv_flash.c
@@ -14,7 +14,7 @@
14
#ifdef BSP_USING_ON_CHIP_FLASH
15
#include "drv_flash.h"
16
17
-#if defined(PKG_USING_FAL)
+#if defined(RT_USING_FAL)
18
#include "fal.h"
19
#endif
20
@@ -171,7 +171,7 @@ int at32_flash_erase(rt_uint32_t addr, rt_uint32_t size)
171
return size;
172
}
173
174
175
176
static int fal_flash_read(long offset, rt_uint8_t *buf, rt_uint32_t size);
177
static int fal_flash_write(long offset, const rt_uint8_t *buf, rt_uint32_t size);
0 commit comments