Skip to content

Commit 10695d6

Browse files
mysterywolfGuozhanxin
authored andcommitted
[fal] PKG_USING_FAL -> RT_USING_FAL
1 parent b43f0e7 commit 10695d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bsp/at32/libraries/rt_drivers/drv_flash.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#ifdef BSP_USING_ON_CHIP_FLASH
1515
#include "drv_flash.h"
1616

17-
#if defined(PKG_USING_FAL)
17+
#if defined(RT_USING_FAL)
1818
#include "fal.h"
1919
#endif
2020

@@ -171,7 +171,7 @@ int at32_flash_erase(rt_uint32_t addr, rt_uint32_t size)
171171
return size;
172172
}
173173

174-
#if defined(PKG_USING_FAL)
174+
#if defined(RT_USING_FAL)
175175

176176
static int fal_flash_read(long offset, rt_uint8_t *buf, rt_uint32_t size);
177177
static int fal_flash_write(long offset, const rt_uint8_t *buf, rt_uint32_t size);

0 commit comments

Comments
 (0)