From 1812eae051c2352226975e413f63b1cf519ba94f Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Tue, 16 Jul 2002 10:54:37 +0000 Subject: Added stub for battery_level() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1365 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/common/stubs.c | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 uisimulator/common/stubs.c (limited to 'uisimulator/common') diff --git a/uisimulator/common/stubs.c b/uisimulator/common/stubs.c new file mode 100644 index 0000000000..cf529c07c4 --- /dev/null +++ b/uisimulator/common/stubs.c @@ -0,0 +1,33 @@ +/*************************************************************************** + * __________ __ ___. + * Open \______ \ ____ ____ | | _\_ |__ _______ ___ + * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / + * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < + * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ + * \/ \/ \/ \/ \/ + * $Id$ + * + * Copyright (C) 2002 by Björn Stenberg + * + * 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. + * + ****************************************************************************/ + +void backlight_on(void) +{ + /* we could do something better here! */ +} + +void backlight_time(int dummy) +{ + (void)dummy; +} + +int battery_level(void) +{ + return 73; +} -- cgit v1.2.3