summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/tms320dm320/mrobe-500/button-mr500.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2008-04-29 01:09:39 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2008-04-29 01:09:39 +0000
commitc741ecc68a5e0c709d9f93ed10866da9bd6f6465 (patch)
treee11c12f6106938a0e0ff2b5683a094b607ba4962 /firmware/target/arm/tms320dm320/mrobe-500/button-mr500.c
parenta6100fb5ee093ecc9b263c2c659c653d90eed585 (diff)
downloadrockbox-c741ecc68a5e0c709d9f93ed10866da9bd6f6465.tar.gz
rockbox-c741ecc68a5e0c709d9f93ed10866da9bd6f6465.zip
yep.. I really cant spell
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17287 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/tms320dm320/mrobe-500/button-mr500.c')
-rw-r--r--firmware/target/arm/tms320dm320/mrobe-500/button-mr500.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/tms320dm320/mrobe-500/button-mr500.c b/firmware/target/arm/tms320dm320/mrobe-500/button-mr500.c
index d1fd2eb702..0f90c755ed 100644
--- a/firmware/target/arm/tms320dm320/mrobe-500/button-mr500.c
+++ b/firmware/target/arm/tms320dm320/mrobe-500/button-mr500.c
@@ -72,7 +72,7 @@ static int touch_to_pixels(short val_x, short val_y)
{
short x,y;
-#if CONFIG_ORIENTATION == SCREEN_PORTAIT
+#if CONFIG_ORIENTATION == SCREEN_PORTRAIT
x=val_x;
y=val_y;
#else
@@ -103,7 +103,7 @@ void button_init_device(void)
/* GIO is the power button, set as input */
IO_GIO_DIR0 |= 0x01;
-#if CONFIG_ORIENTATION == SCREEN_PORTAIT
+#if CONFIG_ORIENTATION == SCREEN_PORTRAIT
topleft.val_x = 200;
topleft.val_y = 3900;