[fal] PKG_USING_FAL -> RT_USING_FAL

This commit is contained in:
Meco Man 2022-08-18 18:59:55 -04:00 committed by guo
parent b43f0e7205
commit 10695d6a90
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@
#ifdef BSP_USING_ON_CHIP_FLASH #ifdef BSP_USING_ON_CHIP_FLASH
#include "drv_flash.h" #include "drv_flash.h"
#if defined(PKG_USING_FAL) #if defined(RT_USING_FAL)
#include "fal.h" #include "fal.h"
#endif #endif
@ -171,7 +171,7 @@ __exit:
return size; return size;
} }
#if defined(PKG_USING_FAL) #if defined(RT_USING_FAL)
static int fal_flash_read(long offset, rt_uint8_t *buf, rt_uint32_t size); static int fal_flash_read(long offset, rt_uint8_t *buf, rt_uint32_t size);
static int fal_flash_write(long offset, const rt_uint8_t *buf, rt_uint32_t size); static int fal_flash_write(long offset, const rt_uint8_t *buf, rt_uint32_t size);