From dbf616f8b33d53419b03d95197c5ceec0c3f0351 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 14 Oct 2018 12:31:41 +0000 Subject: 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 --- os/hal/include/hal_persistent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os/hal/include/hal_persistent.h') 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; -- cgit v1.2.3