Added FLASH_ERROR_UNIMPLEMENTED to errors.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12810 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
8474c1dda5
commit
704df8c3ab
|
@ -103,7 +103,8 @@ typedef enum {
|
||||||
FLASH_ERROR_PROGRAM = 3, /* Program operation failed. */
|
FLASH_ERROR_PROGRAM = 3, /* Program operation failed. */
|
||||||
FLASH_ERROR_ERASE = 4, /* Erase operation failed. */
|
FLASH_ERROR_ERASE = 4, /* Erase operation failed. */
|
||||||
FLASH_ERROR_VERIFY = 5, /* Verify operation failed. */
|
FLASH_ERROR_VERIFY = 5, /* Verify operation failed. */
|
||||||
FLASH_ERROR_HW_FAILURE = 6 /* Controller or communication error. */
|
FLASH_ERROR_HW_FAILURE = 6, /* Controller or communication error. */
|
||||||
|
FLASH_ERROR_UNIMPLEMENTED = 7 /* Unimplemented functionality. */
|
||||||
} flash_error_t;
|
} flash_error_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -334,7 +334,7 @@ flash_error_t efl_lld_program(void *instance, flash_offset_t offset,
|
||||||
flash_error_t efl_lld_start_erase_all(void *instance) {
|
flash_error_t efl_lld_start_erase_all(void *instance) {
|
||||||
(void) instance;
|
(void) instance;
|
||||||
|
|
||||||
return FLASH_ERROR_HW_FAILURE;
|
return FLASH_ERROR_UNIMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue