Merge pull request #2697 from SummerGGift/flash_driver_fal
[stm32][driver] flash 驱动擦除接口与 fal 不匹配的问题
This commit is contained in:
commit
851e33a20f
|
@ -167,7 +167,7 @@ __exit:
|
|||
}
|
||||
|
||||
LOG_D("erase done: addr (0x%p), size %d", (void *)addr, size);
|
||||
return result;
|
||||
return size;
|
||||
}
|
||||
|
||||
#if defined(PKG_USING_FAL)
|
||||
|
|
|
@ -167,7 +167,7 @@ __exit:
|
|||
}
|
||||
|
||||
LOG_D("erase done: addr (0x%p), size %d", (void *)addr, size);
|
||||
return result;
|
||||
return size;
|
||||
}
|
||||
|
||||
#if defined(PKG_USING_FAL)
|
||||
|
|
|
@ -310,7 +310,7 @@ __exit:
|
|||
}
|
||||
|
||||
LOG_D("erase done: addr (0x%p), size %d", (void*)addr, size);
|
||||
return result;
|
||||
return size;
|
||||
}
|
||||
|
||||
#if defined(PKG_USING_FAL)
|
||||
|
|
|
@ -382,7 +382,7 @@ __exit:
|
|||
}
|
||||
|
||||
LOG_D("erase done: addr (0x%p), size %d", (void *)addr, size);
|
||||
return result;
|
||||
return size;
|
||||
}
|
||||
|
||||
#if defined(PKG_USING_FAL)
|
||||
|
|
Loading…
Reference in New Issue