【修复】f0 f1 f4 f7 系列 flash 擦除函数返回值与 fal 接口不匹配的问题

This commit is contained in:
SummerGift 2019-05-16 10:22:26 +08:00
parent 4539172f5c
commit f23b278d62
4 changed files with 4 additions and 4 deletions

View File

@ -167,7 +167,7 @@ __exit:
} }
LOG_D("erase done: addr (0x%p), size %d", (void *)addr, size); LOG_D("erase done: addr (0x%p), size %d", (void *)addr, size);
return result; return size;
} }
#if defined(PKG_USING_FAL) #if defined(PKG_USING_FAL)

View File

@ -167,7 +167,7 @@ __exit:
} }
LOG_D("erase done: addr (0x%p), size %d", (void *)addr, size); LOG_D("erase done: addr (0x%p), size %d", (void *)addr, size);
return result; return size;
} }
#if defined(PKG_USING_FAL) #if defined(PKG_USING_FAL)

View File

@ -310,7 +310,7 @@ __exit:
} }
LOG_D("erase done: addr (0x%p), size %d", (void*)addr, size); LOG_D("erase done: addr (0x%p), size %d", (void*)addr, size);
return result; return size;
} }
#if defined(PKG_USING_FAL) #if defined(PKG_USING_FAL)

View File

@ -382,7 +382,7 @@ __exit:
} }
LOG_D("erase done: addr (0x%p), size %d", (void *)addr, size); LOG_D("erase done: addr (0x%p), size %d", (void *)addr, size);
return result; return size;
} }
#if defined(PKG_USING_FAL) #if defined(PKG_USING_FAL)