diff options
author | Kjell Ericson <kjell@haxx.se> | 2002-12-17 09:26:51 +0000 |
---|---|---|
committer | Kjell Ericson <kjell@haxx.se> | 2002-12-17 09:26:51 +0000 |
commit | 51f18b083a2d2ea1b84fff194a1d74a3646b7fe3 (patch) | |
tree | 8a0894c3149d12d765525414a9d6dc52d6486dd8 | |
parent | 5347b4eaa637f6ebbfc8bb98156f908ebc7b4438 (diff) | |
download | rockbox-51f18b083a2d2ea1b84fff194a1d74a3646b7fe3.tar.gz rockbox-51f18b083a2d2ea1b84fff194a1d74a3646b7fe3.zip |
Fixed a simulator stub for set_battery_capacity()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3012 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/powermgmt.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index febcb78a5a..0fdf8c8fe0 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c | |||
@@ -57,6 +57,10 @@ void set_poweroff_timeout(int timeout) | |||
57 | (void)timeout; | 57 | (void)timeout; |
58 | } | 58 | } |
59 | 59 | ||
60 | void set_battery_capacity(int capacity) | ||
61 | { | ||
62 | (void)capacity; | ||
63 | } | ||
60 | #else /* not SIMULATOR */ | 64 | #else /* not SIMULATOR */ |
61 | 65 | ||
62 | static int poweroff_idle_timeout_value[15] = | 66 | static int poweroff_idle_timeout_value[15] = |