summaryrefslogtreecommitdiff
path: root/nuttx/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-11-17 18:18:35 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-11-17 18:18:35 +0000
commit596906d054d1b0b852d34f78b28407da015dbc8e (patch)
tree3229c559c13f8967a7e4f1817936319cde9bc55c /nuttx/include
parentac1677c4d3d946eecf19c0da03bb2917fcc7c90a (diff)
downloadpx4-nuttx-596906d054d1b0b852d34f78b28407da015dbc8e.tar.gz
px4-nuttx-596906d054d1b0b852d34f78b28407da015dbc8e.tar.bz2
px4-nuttx-596906d054d1b0b852d34f78b28407da015dbc8e.zip
Finish event wait logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2265 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include')
-rwxr-xr-xnuttx/include/nuttx/sdio.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/include/nuttx/sdio.h b/nuttx/include/nuttx/sdio.h
index 5d00ec9d0..497164c39 100755
--- a/nuttx/include/nuttx/sdio.h
+++ b/nuttx/include/nuttx/sdio.h
@@ -52,11 +52,11 @@
* Wait events are used for event-waiting by SDIO_WAITENABLE and SDIO_EVENTWAIT
*/
-#define SDIOWAIT_CMDDONE (1 << 0) /* Bit 0: Command+response complete */
-#define SDIOWAIT_CMDBUSYDONE (1 << 1) /* Bit 1: Command with transition to not busy */
+#define SDIOWAIT_CMDDONE (1 << 0) /* Bit 0: Command complete */
+#define SDIOWAIT_RESPONSEDONE (1 << 1) /* Bit 1: Response to command available */
#define SDIOWAIT_TRANSFERDONE (1 << 2) /* Bit 2: Data transfer/DMA done */
-#define SDIOWAIT_ALLEVENTS 0x03
+#define SDIOWAIT_ALLEVENTS 0x07
/* Media events are used for enable/disable registered event callbacks */