diff options
author | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-08-09 10:07:11 +0000 |
---|---|---|
committer | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-08-09 10:07:11 +0000 |
commit | 0752e9d7e973161c32e4b667c7a8d06c68b0a9eb (patch) | |
tree | ffef0d84a300ba2e30aac20b3e89393d0d5e7bb1 /demos/ARM7-LPC214x-FATFS-GCC/main.c | |
parent | 45b489851878769402af4a353fa2b759c815be39 (diff) | |
download | ChibiOS-0752e9d7e973161c32e4b667c7a8d06c68b0a9eb.tar.gz ChibiOS-0752e9d7e973161c32e4b667c7a8d06c68b0a9eb.tar.bz2 ChibiOS-0752e9d7e973161c32e4b667c7a8d06c68b0a9eb.zip |
I2C. Syncing with trunk (step 1)
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3214 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARM7-LPC214x-FATFS-GCC/main.c')
-rw-r--r-- | demos/ARM7-LPC214x-FATFS-GCC/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/ARM7-LPC214x-FATFS-GCC/main.c b/demos/ARM7-LPC214x-FATFS-GCC/main.c index bb8c012af..b5d7e82d6 100644 --- a/demos/ARM7-LPC214x-FATFS-GCC/main.c +++ b/demos/ARM7-LPC214x-FATFS-GCC/main.c @@ -273,8 +273,8 @@ int main(void) { evtInit(&evt, MS2ST(500)); /* Initializes an event timer object. */
evtStart(&evt); /* Starts the event timer. */
chEvtRegister(&evt.et_es, &el0, 0); /* Registers on the timer event source. */
- chEvtRegister(&MMCD1.mmc_inserted_event, &el1, 1);
- chEvtRegister(&MMCD1.mmc_removed_event, &el2, 2);
+ chEvtRegister(&MMCD1.inserted_event, &el1, 1);
+ chEvtRegister(&MMCD1.removed_event, &el2, 2);
while (TRUE)// chThdSleepMilliseconds(50);
chEvtDispatch(evhndl, chEvtWaitOne(ALL_EVENTS));
return 0;
|