summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx31/gigabeat-s/power-imx31.h
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2008-04-13 10:04:21 +0000
committerNils Wallménius <nils@rockbox.org>2008-04-13 10:04:21 +0000
commit8c5d552ebdadd00a3f1610110afb6eb4fa77071a (patch)
tree0af146dd372ea8110e89fe474ad9e419af762533 /firmware/target/arm/imx31/gigabeat-s/power-imx31.h
parentd715f79ed6f8aa113c529b8a1ac5d8d82b69670f (diff)
downloadrockbox-8c5d552ebdadd00a3f1610110afb6eb4fa77071a.tar.gz
rockbox-8c5d552ebdadd00a3f1610110afb6eb4fa77071a.tar.bz2
rockbox-8c5d552ebdadd00a3f1610110afb6eb4fa77071a.zip
Charger detection for Gigabeat S
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17093 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/imx31/gigabeat-s/power-imx31.h')
-rw-r--r--firmware/target/arm/imx31/gigabeat-s/power-imx31.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/firmware/target/arm/imx31/gigabeat-s/power-imx31.h b/firmware/target/arm/imx31/gigabeat-s/power-imx31.h
new file mode 100644
index 0000000000..f2f6ef8a73
--- /dev/null
+++ b/firmware/target/arm/imx31/gigabeat-s/power-imx31.h
@@ -0,0 +1,21 @@
+/***************************************************************************
+ * __________ __ ___.
+ * Open \______ \ ____ ____ | | _\_ |__ _______ ___
+ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+ * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+ * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+ * \/ \/ \/ \/ \/
+ * $Id:$
+ *
+ * Copyright (C) 2008 by Nils Wallménius
+ *
+ * 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 set_charger_inserted(bool inserted);
+