summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Hak <adiamas@rockbox.org>2002-10-23 14:42:45 +0000
committerRobert Hak <adiamas@rockbox.org>2002-10-23 14:42:45 +0000
commitb35165649105a2fca40241519234880164bc6fb4 (patch)
tree81af0fac62ea8392884342408d88c91b91ea2b08
parentab7c63814b301d40547f026a3201673842d61762 (diff)
downloadrockbox-b35165649105a2fca40241519234880164bc6fb4.tar.gz
rockbox-b35165649105a2fca40241519234880164bc6fb4.zip
fix on button detection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2748 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/recorder/snow.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/apps/recorder/snow.c b/apps/recorder/snow.c
index c9cbd1cf43..c4e952f21d 100644
--- a/apps/recorder/snow.c
+++ b/apps/recorder/snow.c
@@ -101,7 +101,17 @@ bool snow(void)
snow_move();
lcd_update();
sleep(HZ/20);
- if (button_get(false))
+
+ if (button_get(false) == BUTTON_OFF)
return false;
}
}
+
+
+
+
+
+
+
+
+