diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-05-08 17:43:06 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-05-08 17:43:06 +0000 |
commit | eede81d5622ea3e3712a4b5dc76b8d7bbee588e5 (patch) | |
tree | 06246a07e04e6f055a1f841cd7e4d3d557b82b89 /os/hal/lib | |
parent | ceb256ed74e5f8cb5bf32f8268b2bd70f8850c1b (diff) | |
download | ChibiOS-eede81d5622ea3e3712a4b5dc76b8d7bbee588e5.tar.gz ChibiOS-eede81d5622ea3e3712a4b5dc76b8d7bbee588e5.tar.bz2 ChibiOS-eede81d5622ea3e3712a4b5dc76b8d7bbee588e5.zip |
N25Q128 driver complete, to be tested.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9452 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/lib')
-rw-r--r-- | os/hal/lib/peripherals/flash/hal_flash.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/os/hal/lib/peripherals/flash/hal_flash.h b/os/hal/lib/peripherals/flash/hal_flash.h index b3c47b377..3544b328f 100644 --- a/os/hal/lib/peripherals/flash/hal_flash.h +++ b/os/hal/lib/peripherals/flash/hal_flash.h @@ -146,9 +146,9 @@ typedef struct { flash_sector_t sector, \
flash_sector_t n); \
/* Erase single sector.*/ \
- flash_error_t (*are_sectors_erased)(void *instance, \
- flash_sector_t sector, \
- flash_sector_t n); \
+ flash_error_t (*verify_erase)(void *instance, \
+ flash_sector_t sector, \
+ flash_sector_t n); \
/* Write operation.*/ \
flash_error_t (*program)(void *instance, flash_address_t addr, \
const uint8_t *pp, size_t n); \
@@ -241,8 +241,8 @@ typedef struct { *
* @api
*/
-#define flashAreSectorsErased(ip, sector, n) \
- (ip)->vmt_baseflash->are_sectors_erased(ip, sector, n)
+#define flashVerifyErase(ip, sector, n) \
+ (ip)->vmt_baseflash->verify_erase(ip, sector, n)
/**
* @brief Write operation.
|