aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/lib/peripherals/flash/hal_flash.c
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-11-09 13:37:47 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-11-09 13:37:47 +0000
commitf16a0581cec5a807fa09b3ac15fbe75c447536a6 (patch)
tree93ae30401fac7bf47e8438190dce666c59f324c2 /os/hal/lib/peripherals/flash/hal_flash.c
parent8f814aba602e2e672b6a306e693cc6e3be178563 (diff)
downloadChibiOS-f16a0581cec5a807fa09b3ac15fbe75c447536a6.tar.gz
ChibiOS-f16a0581cec5a807fa09b3ac15fbe75c447536a6.tar.bz2
ChibiOS-f16a0581cec5a807fa09b3ac15fbe75c447536a6.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10978 35acf78f-673a-0410-8e92-d51de3d6d3f4
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) {