summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2005-11-19 11:30:49 +0000
committerDave Chapman <dave@dchapman.com>2005-11-19 11:30:49 +0000
commitfbfb7db4b7e3b89b9df13301e82c2b96186721f0 (patch)
tree924dddd6f72fd2c285ad1de74b91997adf58f95e /firmware/drivers
parentb2a99528e3c32ba060fb340a75422ee4b498c160 (diff)
Correct typo that prevented Nano from building
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7990 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/button.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c
index 85faeafc25..918705eb4f 100644
--- a/firmware/drivers/button.c
+++ b/firmware/drivers/button.c
@@ -246,7 +246,7 @@ void button_init(void)
}
#ifdef HAVE_LCD_BITMAP /* only bitmap displays can be flipped */
-#if (CONFIG_KEYPAD != IPOD_4G_PAD) && (CONFIG_KEYPAD != IPOD_4G_PAD)
+#if (CONFIG_KEYPAD != IPOD_4G_PAD) && (CONFIG_KEYPAD != IPOD_NANO_PAD)
/*
* helper function to swap UP/DOWN, LEFT/RIGHT (and F1/F3 for Recorder)
*/