summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2006-12-04 01:04:14 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2006-12-04 01:04:14 +0000
commit148c553023a7172562bce4eb3152a13bdb37ca83 (patch)
tree7602186af39793c899304b955ac490ef292b83c2
parentc01a97442f278c557ee36962229b3076b94ae588 (diff)
downloadrockbox-148c553023a7172562bce4eb3152a13bdb37ca83.tar.gz
rockbox-148c553023a7172562bce4eb3152a13bdb37ca83.zip
fix metronome sync button
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11657 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/metronome.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/metronome.c b/apps/plugins/metronome.c
index f44ef7f7c6..cfbed76b5a 100644
--- a/apps/plugins/metronome.c
+++ b/apps/plugins/metronome.c
@@ -58,6 +58,7 @@ static const struct button_mapping ondio_action[] =
#define METRONOME_MSG_STOP "press pause"
#if (CONFIG_KEYPAD == IRIVER_H100_PAD) || (CONFIG_KEYPAD == IRIVER_H300_PAD)
+#define MET_SYNC
static const struct button_mapping iriver_syncaction[] =
{
{METRONOME_SYNC, BUTTON_REC, BUTTON_NONE },
@@ -985,7 +986,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter){
break;
#endif
-#ifdef METRONOME_SYNC
+#ifdef MET_SYNC
case METRONOME_SYNC:
minitick = period;
break;