summaryrefslogtreecommitdiffstats
path: root/bootloader/ondavx747.c
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2008-12-19 11:29:18 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2008-12-19 11:29:18 +0000
commit9da2456c2677ca074c35e0dd84837c3c32798cc0 (patch)
tree13fd1d06cf9f93f6f5e32091991789c7483fa3d5 /bootloader/ondavx747.c
parent40ec54305250e9a4a5e54a293abb974121d4a110 (diff)
downloadrockbox-9da2456c2677ca074c35e0dd84837c3c32798cc0.tar.gz
rockbox-9da2456c2677ca074c35e0dd84837c3c32798cc0.tar.bz2
rockbox-9da2456c2677ca074c35e0dd84837c3c32798cc0.zip
Fix SVN properties
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19482 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader/ondavx747.c')
-rw-r--r--[-rwxr-xr-x]bootloader/ondavx747.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/bootloader/ondavx747.c b/bootloader/ondavx747.c
index 0695dc0190..09acbc8166 100755..100644
--- a/bootloader/ondavx747.c
+++ b/bootloader/ondavx747.c
@@ -29,13 +29,13 @@
#include "lcd.h"
#include "ata.h"
#include "usb.h"
-#include "storage.h"
#include "system.h"
#include "button.h"
#include "timefuncs.h"
#include "rtc.h"
#include "common.h"
#include "mipsregs.h"
+#include "storage.h"
#ifdef ONDA_VX747P
#define ONDA_VX747
@@ -112,19 +112,14 @@ int main(void)
KNOP(BUTTON_POWER, 3);
lcd_set_foreground(LCD_WHITE);
if(button_hold())
- {
printf("BUTTON_HOLD");
- asm("break 0x7");
- }
if(btn & BUTTON_POWER)
- {
power_off();
- }
#ifdef ONDA_VX747
if(btn & BUTTON_TOUCH)
{
lcd_set_foreground(LCD_RGBPACK(touch & 0xFF, (touch >> 8)&0xFF, (touch >> 16)&0xFF));
- lcd_fillrect((touch>>16)-10, (touch&0xFFFF)-5, 10, 10);
+ lcd_fillrect((touch>>16)-5, (touch&0xFFFF)-5, 5, 5);
lcd_update();
lcd_set_foreground(LCD_WHITE);
}