aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/lib/peripherals/flash/hal_flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/lib/peripherals/flash/hal_flash.c')
-rw-r--r--os/hal/lib/peripherals/flash/hal_flash.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/os/hal/lib/peripherals/flash/hal_flash.c b/os/hal/lib/peripherals/flash/hal_flash.c
index 7bc0845bb..4ae5211d4 100644
--- a/os/hal/lib/peripherals/flash/hal_flash.c
+++ b/os/hal/lib/peripherals/flash/hal_flash.c
@@ -54,6 +54,7 @@
* @return An error code.
* @retval FLASH_NO_ERROR if there is no erase operation in progress.
* @retval FLASH_ERROR_ERASE if the erase operation failed.
+ * @retval FLASH_ERROR_HW_FAILURE if access to the memory failed.
*/
flash_error_t flashWaitErase(BaseFlash *devp) {