From b650bc592aa09f8ba74bdfb420ef869b97fbaaf8 Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Fri, 15 Feb 2008 12:37:36 +0000 Subject: fix compiling of debug menu for tcc780x git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16316 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/tcc780x/debug-target.h | 22 ++++++++++++++++++++++ firmware/target/arm/tcc780x/debug-tcc780x.c | 3 +-- 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100755 firmware/target/arm/tcc780x/debug-target.h (limited to 'firmware/target/arm/tcc780x') diff --git a/firmware/target/arm/tcc780x/debug-target.h b/firmware/target/arm/tcc780x/debug-target.h new file mode 100755 index 0000000000..07e8fc4322 --- /dev/null +++ b/firmware/target/arm/tcc780x/debug-target.h @@ -0,0 +1,22 @@ +/*************************************************************************** + * __________ __ ___. + * Open \______ \ ____ ____ | | _\_ |__ _______ ___ + * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / + * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < + * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ + * \/ \/ \/ \/ \/ + * $Id$ + * + * Copyright (C) 2007 by Karl Kurbjun + * + * All files in this archive are subject to the GNU General Public License. + * See the file COPYING in the source tree root for full license agreement. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ****************************************************************************/ + +bool __dbg_hw_info(void); +bool __dbg_ports(void); + diff --git a/firmware/target/arm/tcc780x/debug-tcc780x.c b/firmware/target/arm/tcc780x/debug-tcc780x.c index cc5716fd88..10345ed7df 100644 --- a/firmware/target/arm/tcc780x/debug-tcc780x.c +++ b/firmware/target/arm/tcc780x/debug-tcc780x.c @@ -26,8 +26,8 @@ #include "lcd.h" #include "sprintf.h" #include "font.h" +#include "debug-target.h" -bool __dbg_ports(void); bool __dbg_ports(void) { return false; @@ -36,7 +36,6 @@ bool __dbg_ports(void) //extern char r_buffer[5]; //extern int r_button; -bool __dbg_hw_info(void); bool __dbg_hw_info(void) { int line = 0, button, oldline; -- cgit v1.2.3