summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2012-01-04 06:33:50 +0000
committerRafaël Carré <rafael.carre@gmail.com>2012-01-04 06:33:50 +0000
commita22e161e0fed5f714f9a40145b6850d26f997816 (patch)
tree3820a85fc03bd1f2056b06d7624cfa9bfe369d30
parent02c79d37a3c71ced952a855ac3262cf253db8a94 (diff)
downloadrockbox-a22e161e0fed5f714f9a40145b6850d26f997816.tar.gz
rockbox-a22e161e0fed5f714f9a40145b6850d26f997816.zip
sh/debug-target.h: move in .c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31562 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/sh/debug-sh.c8
-rw-r--r--firmware/target/sh/debug-target.h26
2 files changed, 6 insertions, 28 deletions
diff --git a/firmware/target/sh/debug-sh.c b/firmware/target/sh/debug-sh.c
index 78d0032199..180c37f3c6 100644
--- a/firmware/target/sh/debug-sh.c
+++ b/firmware/target/sh/debug-sh.c
@@ -30,8 +30,13 @@
30#include "adc.h" 30#include "adc.h"
31#include "hwcompat.h" /* ROM_VERSION */ 31#include "hwcompat.h" /* ROM_VERSION */
32#include "crc32.h" 32#include "crc32.h"
33#include "debug-target.h"
34 33
34#if CONFIG_KEYPAD == RECORDER_PAD
35# define DEBUG_CANCEL BUTTON_OFF
36
37#elif CONFIG_KEYPAD == ONDIO_PAD
38# define DEBUG_CANCEL BUTTON_MENU
39#endif
35 40
36/* Tool function to read the flash manufacturer and type, if available. 41/* Tool function to read the flash manufacturer and type, if available.
37 Only chips which could be reprogrammed in system will return values. 42 Only chips which could be reprogrammed in system will return values.
@@ -276,4 +281,3 @@ bool dbg_hw_info(void)
276#endif 281#endif
277 return false; 282 return false;
278} 283}
279
diff --git a/firmware/target/sh/debug-target.h b/firmware/target/sh/debug-target.h
index 962d6d8659..e69de29bb2 100644
--- a/firmware/target/sh/debug-target.h
+++ b/firmware/target/sh/debug-target.h
@@ -1,26 +0,0 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2010 by Marcin Bukat
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
16 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
21#if CONFIG_KEYPAD == RECORDER_PAD
22# define DEBUG_CANCEL BUTTON_OFF
23
24#elif CONFIG_KEYPAD == ONDIO_PAD
25# define DEBUG_CANCEL BUTTON_MENU
26#endif