aboutsummaryrefslogtreecommitdiffstats
path: root/os/ex/Micron/n25q128.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-05-11 11:22:46 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-05-11 11:22:46 +0000
commitc3d1d75f50ecfe9ae36f58de67d2baf57be1be39 (patch)
tree5058c433916b6f3bc21914ec12ea0d14d3a5f474 /os/ex/Micron/n25q128.h
parentc9387af734393984b01a356314ed856e699cde93 (diff)
downloadChibiOS-c3d1d75f50ecfe9ae36f58de67d2baf57be1be39.tar.gz
ChibiOS-c3d1d75f50ecfe9ae36f58de67d2baf57be1be39.tar.bz2
ChibiOS-c3d1d75f50ecfe9ae36f58de67d2baf57be1be39.zip
Added smart polling and preparation for erase suspend.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9463 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/ex/Micron/n25q128.h')
-rw-r--r--os/ex/Micron/n25q128.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/ex/Micron/n25q128.h b/os/ex/Micron/n25q128.h
index 683d66bb0..c6bff3797 100644
--- a/os/ex/Micron/n25q128.h
+++ b/os/ex/Micron/n25q128.h
@@ -71,7 +71,7 @@
* @name Status register bits
* @{
*/
-#define N25Q128_STS_BUSY 0x80U
+#define N25Q128_STS_PROGRAM_ERASE 0x80U
#define N25Q128_STS_ERASE_SUSPEND 0x40U
#define N25Q128_STS_ERASE_ERROR 0x20U
#define N25Q128_STS_PROGRAM_ERROR 0x10U