diff options
author | Björn Stenberg <bjorn@haxx.se> | 2002-07-16 10:54:37 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2002-07-16 10:54:37 +0000 |
commit | 1812eae051c2352226975e413f63b1cf519ba94f (patch) | |
tree | 94bed31a85f087a31321a50e0b7163d9b77340f6 /uisimulator/common | |
parent | 761cd95f23e23aa99b4d7f6adfb295355318517a (diff) | |
download | rockbox-1812eae051c2352226975e413f63b1cf519ba94f.tar.gz rockbox-1812eae051c2352226975e413f63b1cf519ba94f.zip |
Added stub for battery_level()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1365 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/common')
-rw-r--r-- | uisimulator/common/stubs.c | 33 |
1 files changed, 33 insertions, 0 deletions
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 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2002 by Björn Stenberg <bjorn@haxx.se> | ||
11 | * | ||
12 | * All files in this archive are subject to the GNU General Public License. | ||
13 | * See the file COPYING in the source tree root for full license agreement. | ||
14 | * | ||
15 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
16 | * KIND, either express or implied. | ||
17 | * | ||
18 | ****************************************************************************/ | ||
19 | |||
20 | void backlight_on(void) | ||
21 | { | ||
22 | /* we could do something better here! */ | ||
23 | } | ||
24 | |||
25 | void backlight_time(int dummy) | ||
26 | { | ||
27 | (void)dummy; | ||
28 | } | ||
29 | |||
30 | int battery_level(void) | ||
31 | { | ||
32 | return 73; | ||
33 | } | ||