From a22e161e0fed5f714f9a40145b6850d26f997816 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Wed, 4 Jan 2012 06:33:50 +0000 Subject: sh/debug-target.h: move in .c git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31562 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/sh/debug-sh.c | 8 ++++++-- firmware/target/sh/debug-target.h | 26 -------------------------- 2 files changed, 6 insertions(+), 28 deletions(-) (limited to 'firmware') 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 @@ #include "adc.h" #include "hwcompat.h" /* ROM_VERSION */ #include "crc32.h" -#include "debug-target.h" +#if CONFIG_KEYPAD == RECORDER_PAD +# define DEBUG_CANCEL BUTTON_OFF + +#elif CONFIG_KEYPAD == ONDIO_PAD +# define DEBUG_CANCEL BUTTON_MENU +#endif /* Tool function to read the flash manufacturer and type, if available. Only chips which could be reprogrammed in system will return values. @@ -276,4 +281,3 @@ bool dbg_hw_info(void) #endif return false; } - 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 @@ -/*************************************************************************** - * __________ __ ___. - * 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 -- cgit v1.2.3