diff options
Diffstat (limited to 'firmware/drivers')
-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 |