summaryrefslogtreecommitdiff
path: root/firmware/target/arm/ipod/video/battery-video.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/ipod/video/battery-video.c')
-rw-r--r--firmware/target/arm/ipod/video/battery-video.c33
1 files changed, 33 insertions, 0 deletions
diff --git a/firmware/target/arm/ipod/video/battery-video.c b/firmware/target/arm/ipod/video/battery-video.c
new file mode 100644
index 0000000000..b4c460284b
--- /dev/null
+++ b/firmware/target/arm/ipod/video/battery-video.c
@@ -0,0 +1,33 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id $
9 *
10 * Default battery capacity for ipod video
11 *
12 * Copyright (c) 2011 Frank Gevaerts
13 *
14 * This program is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU General Public License
16 * as published by the Free Software Foundation; either version 2
17 * of the License, or (at your option) any later version.
18 *
19 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
20 * KIND, either express or implied.
21 *
22 ****************************************************************************/
23
24#include "config.h"
25#include "system.h"
26
27int battery_default_capacity(void)
28{
29 if(probed_ramsize==64)
30 return BATTERY_CAPACITY_DEFAULT_THICK;
31 else
32 return BATTERY_CAPACITY_DEFAULT_THIN;
33}