aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/hal_persistent.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-10-14 12:31:41 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-10-14 12:31:41 +0000
commitdbf616f8b33d53419b03d95197c5ceec0c3f0351 (patch)
tree0a0afb5db7681f7eac89026fc0770ddb80a6e62f /os/hal/include/hal_persistent.h
parent8ec0f1a75387fadd2b0179a02b9f7f81e37b2fe1 (diff)
downloadChibiOS-dbf616f8b33d53419b03d95197c5ceec0c3f0351.tar.gz
ChibiOS-dbf616f8b33d53419b03d95197c5ceec0c3f0351.tar.bz2
ChibiOS-dbf616f8b33d53419b03d95197c5ceec0c3f0351.zip
Changes to the RTC driver to use the persistent storage interface,
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12366 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/hal/include/hal_persistent.h')
-rw-r--r--os/hal/include/hal_persistent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/include/hal_persistent.h b/os/hal/include/hal_persistent.h
index d0d6c4472..f0aed89b9 100644
--- a/os/hal/include/hal_persistent.h
+++ b/os/hal/include/hal_persistent.h
@@ -49,7 +49,7 @@
typedef enum {
PS_NO_ERROR = 0, /* No error. */
PS_ERROR_READ = 2, /* ECC or other error during read operation.*/
- PS_ERROR_PROGRAM = 3, /* Program operation failed. */
+ PS_ERROR_WRITE= 3, /* Program operation failed. */
PS_ERROR_VERIFY = 5, /* Verify operation failed. */
PS_ERROR_HW_FAILURE = 6 /* Controller or communication error. */
} ps_error_t;