summaryrefslogtreecommitdiffstats
path: root/bootloader/mini2440.c
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2009-10-31 16:48:08 +0000
committerDominik Wenger <domonoky@googlemail.com>2009-10-31 16:48:08 +0000
commitd25baecc0bb15308ff430340da8c461a43ed235a (patch)
tree0378556d056bea1e1da320f6f33f917c898908ac /bootloader/mini2440.c
parent4b7de9188482db440680caa9d6f2c5713b5c8f4f (diff)
downloadrockbox-d25baecc0bb15308ff430340da8c461a43ed235a.tar.gz
rockbox-d25baecc0bb15308ff430340da8c461a43ed235a.tar.bz2
rockbox-d25baecc0bb15308ff430340da8c461a43ed235a.zip
make mini2440 bootloader compile again, and remove a few warnings from sd driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23440 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader/mini2440.c')
-rw-r--r--bootloader/mini2440.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bootloader/mini2440.c b/bootloader/mini2440.c
index 09698ed833..d735084c6a 100644
--- a/bootloader/mini2440.c
+++ b/bootloader/mini2440.c
@@ -73,7 +73,8 @@ int main(void)
/* mini2440_test(); */
/* Show debug messages if button is pressed */
- if(button_read_device() & BUTTON_MENU)
+ int touch_data;
+ if(button_read_device(&touch_data) & BUTTON_MENU)
verbose = true;
printf("Rockbox boot loader");