diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-08-23 09:46:38 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-08-23 09:46:38 +0000 |
commit | 1392dc2144a4b1810ba5c421f54e05dc1a3a74c7 (patch) | |
tree | 7f7f7d6dd6ce00e8146896456549441d4e8153d7 /firmware/drivers/button.c | |
parent | 965d2af61f5035dcf5179b8539785de641a9f015 (diff) | |
download | rockbox-1392dc2144a4b1810ba5c421f54e05dc1a3a74c7.tar.gz rockbox-1392dc2144a4b1810ba5c421f54e05dc1a3a74c7.zip |
Commit FS#9308: differentiate between TOUCHPAD & TOUCHSCREEN
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18338 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/button.c')
-rw-r--r-- | firmware/drivers/button.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c index 7be7fbc1b3..8ad93ae022 100644 --- a/firmware/drivers/button.c +++ b/firmware/drivers/button.c | |||
@@ -517,7 +517,7 @@ static int button_read(void) | |||
517 | 517 | ||
518 | /* Filter the button status. It is only accepted if we get the same | 518 | /* Filter the button status. It is only accepted if we get the same |
519 | status twice in a row. */ | 519 | status twice in a row. */ |
520 | #ifndef HAVE_TOUCHPAD | 520 | #ifndef HAVE_TOUCHSCREEN |
521 | if (btn != last_read) | 521 | if (btn != last_read) |
522 | retval = lastbtn; | 522 | retval = lastbtn; |
523 | else | 523 | else |