【修复】f0 f1 f4 f7 系列 flash 擦除函数返回值与 fal 接口不匹配的问题
This commit is contained in:
parent
4539172f5c
commit
f23b278d62
|
@ -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)
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue