summaryrefslogtreecommitdiff
path: root/firmware/export/powermgmt.h
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-09-03 07:03:07 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-09-03 07:03:07 +0000
commitbf0e907257fe9446d23c4b32aec9c4f4f5ba03d0 (patch)
treea7fa69cb4ab98af2b67a0192dc8b42c95fdc03e8 /firmware/export/powermgmt.h
parente93ba5a7241407b32e91563b7ef5eaafd0ea3338 (diff)
downloadrockbox-bf0e907257fe9446d23c4b32aec9c4f4f5ba03d0.tar.gz
rockbox-bf0e907257fe9446d23c4b32aec9c4f4f5ba03d0.zip
powermgmt.h: include config.h
AMS*: define CURRENT_MAX_CHG to give more correct estimation of recharge time The amount of current each target draws from the charger is defined in powermgmt-target.h git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27994 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/powermgmt.h')
-rw-r--r--firmware/export/powermgmt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/export/powermgmt.h b/firmware/export/powermgmt.h
index 03b9d34d54..983825052e 100644
--- a/firmware/export/powermgmt.h
+++ b/firmware/export/powermgmt.h
@@ -22,6 +22,7 @@
22#define _POWERMGMT_H_ 22#define _POWERMGMT_H_
23 23
24#include <stdbool.h> 24#include <stdbool.h>
25#include "config.h"
25 26
26#define POWER_HISTORY_LEN 2*60 /* 2 hours of samples, one per minute */ 27#define POWER_HISTORY_LEN 2*60 /* 2 hours of samples, one per minute */
27 28