summaryrefslogtreecommitdiffstats
path: root/firmware/target/sh/debug-target.h
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2010-11-06 14:24:25 +0000
committerMarcin Bukat <marcin.bukat@gmail.com>2010-11-06 14:24:25 +0000
commitb8a7f5137b38cbfd301715bb69034467a033eccb (patch)
tree5bef733ca715d7706801587137c1db40f173b6c1 /firmware/target/sh/debug-target.h
parent97a783a79ab53cc772545980ff4bad6a6d3b8bad (diff)
downloadrockbox-b8a7f5137b38cbfd301715bb69034467a033eccb.tar.gz
rockbox-b8a7f5137b38cbfd301715bb69034467a033eccb.tar.bz2
rockbox-b8a7f5137b38cbfd301715bb69034467a033eccb.zip
move dbg_ports() from apps/menu_debug.c to target tree. FS#11712 by me.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28522 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/sh/debug-target.h')
-rw-r--r--firmware/target/sh/debug-target.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/firmware/target/sh/debug-target.h b/firmware/target/sh/debug-target.h
new file mode 100644
index 0000000000..4e25b81948
--- /dev/null
+++ b/firmware/target/sh/debug-target.h
@@ -0,0 +1,27 @@
+/***************************************************************************
+ * __________ __ ___.
+ * Open \______ \ ____ ____ | | _\_ |__ _______ ___
+ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+ * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+ * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+ * \/ \/ \/ \/ \/
+ * $Id$
+ *
+ * Copyright (C) 2010 by Marcin Bukat
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ****************************************************************************/
+#if CONFIG_KEYPAD == RECORDER_PAD
+# define DEBUG_CANCEL BUTTON_OFF
+
+#elif CONFIG_KEYPAD == ONDIO_PAD
+# define DEBUG_CANCEL BUTTON_MENU
+#endif
+bool dbg_ports(void);