diff options
Diffstat (limited to 'demos/ARM7-LPC214x-GCC/main.c')
-rw-r--r-- | demos/ARM7-LPC214x-GCC/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/demos/ARM7-LPC214x-GCC/main.c b/demos/ARM7-LPC214x-GCC/main.c index 9677918fd..fbd4f2726 100644 --- a/demos/ARM7-LPC214x-GCC/main.c +++ b/demos/ARM7-LPC214x-GCC/main.c @@ -83,8 +83,9 @@ static void InsertHandler(t_eventid id) { /* Card ready, do stuff.*/
if (mmcGetSize(&data))
return;
- if (mmcBlockRead(0x200000, rwbuf))
+ if (mmcRead(rwbuf, 0))
return;
+ PlaySound(440, 200);
}
static void RemoveHandler(t_eventid id) {
|