summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/rk27xx/debug-rk27xx.c7
-rw-r--r--firmware/target/arm/rk27xx/debug-target.h32
2 files changed, 6 insertions, 33 deletions
diff --git a/firmware/target/arm/rk27xx/debug-rk27xx.c b/firmware/target/arm/rk27xx/debug-rk27xx.c
index ba2099dfd5..5c2d356013 100644
--- a/firmware/target/arm/rk27xx/debug-rk27xx.c
+++ b/firmware/target/arm/rk27xx/debug-rk27xx.c
@@ -23,13 +23,18 @@
23#include "config.h" 23#include "config.h"
24#include "system.h" 24#include "system.h"
25#include "kernel.h" 25#include "kernel.h"
26#include "debug-target.h"
27#include "button.h" 26#include "button.h"
28#include "lcd.h" 27#include "lcd.h"
29#include "adc.h" 28#include "adc.h"
30#include "font.h" 29#include "font.h"
31#include "storage.h" 30#include "storage.h"
32 31
32#ifdef RK27_GENERIC
33#define DEBUG_CANCEL BUTTON_VOL
34#elif defined(HM60X) || defined(HM801)
35#define DEBUG_CANCEL BUTTON_LEFT
36#endif
37
33/* Skeleton for adding target specific debug info to the debug menu 38/* Skeleton for adding target specific debug info to the debug menu
34 */ 39 */
35 40
diff --git a/firmware/target/arm/rk27xx/debug-target.h b/firmware/target/arm/rk27xx/debug-target.h
index 3806014287..e69de29bb2 100644
--- a/firmware/target/arm/rk27xx/debug-target.h
+++ b/firmware/target/arm/rk27xx/debug-target.h
@@ -1,32 +0,0 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2007 by Karl Kurbjun
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
22#ifndef _DEBUG_TARGET_H_
23#define _DEBUG_TARGET_H_
24
25#ifdef RK27_GENERIC
26#define DEBUG_CANCEL BUTTON_VOL
27#elif defined(HM60X) || defined(HM801)
28#define DEBUG_CANCEL BUTTON_LEFT
29#endif
30
31#endif /* _DEBUG_TARGET_H_ */
32