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
This commit is contained in:
parent
e93ba5a724
commit
bf0e907257
8 changed files with 21 additions and 0 deletions
|
@ -154,6 +154,9 @@
|
|||
#define CURRENT_BACKLIGHT 25
|
||||
#define CURRENT_RECORD CURRENT_NORMAL
|
||||
|
||||
/* maximum charging current */
|
||||
#define CURRENT_MAX_CHG 200
|
||||
|
||||
/* The start address index for ROM builds */
|
||||
#define ROM_START 0x00000000
|
||||
|
||||
|
|
|
@ -158,6 +158,9 @@
|
|||
#define CURRENT_BACKLIGHT 13
|
||||
#define CURRENT_RECORD CURRENT_NORMAL
|
||||
|
||||
/* maximum charging current */
|
||||
#define CURRENT_MAX_CHG 150
|
||||
|
||||
/* Define this to the CPU frequency */
|
||||
#define CPU_FREQ 248000000
|
||||
|
||||
|
|
|
@ -165,6 +165,8 @@
|
|||
#define CURRENT_BACKLIGHT 15
|
||||
#define CURRENT_RECORD CURRENT_NORMAL /* TODO */
|
||||
|
||||
/* maximum charging current */
|
||||
#define CURRENT_MAX_CHG 150
|
||||
|
||||
/* Define this to the CPU frequency */
|
||||
#define CPU_FREQ 240000000
|
||||
|
|
|
@ -161,6 +161,9 @@
|
|||
#define CURRENT_BACKLIGHT 15
|
||||
#define CURRENT_RECORD 11
|
||||
|
||||
/* maximum charging current */
|
||||
#define CURRENT_MAX_CHG 150
|
||||
|
||||
/* Define this to the CPU frequency */
|
||||
#define CPU_FREQ 240000000
|
||||
|
||||
|
|
|
@ -162,6 +162,9 @@
|
|||
#define CURRENT_BACKLIGHT 30
|
||||
#define CURRENT_RECORD CURRENT_NORMAL
|
||||
|
||||
/* maximum charging current */
|
||||
#define CURRENT_MAX_CHG 300
|
||||
|
||||
/* The start address index for ROM builds */
|
||||
#define ROM_START 0x00000000
|
||||
|
||||
|
|
|
@ -166,6 +166,9 @@
|
|||
#define CURRENT_BACKLIGHT 30
|
||||
#define CURRENT_RECORD CURRENT_NORMAL
|
||||
|
||||
/* maximum charging current */
|
||||
#define CURRENT_MAX_CHG 200
|
||||
|
||||
/* Define this to the CPU frequency */
|
||||
#define CPU_FREQ 248000000
|
||||
|
||||
|
|
|
@ -168,6 +168,9 @@
|
|||
#define CURRENT_BACKLIGHT 30
|
||||
#define CURRENT_RECORD CURRENT_NORMAL
|
||||
|
||||
/* maximum charging current */
|
||||
#define CURRENT_MAX_CHG 200
|
||||
|
||||
/* Define this to the CPU frequency */
|
||||
#define CPU_FREQ 240000000
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
#define _POWERMGMT_H_
|
||||
|
||||
#include <stdbool.h>
|
||||
#include "config.h"
|
||||
|
||||
#define POWER_HISTORY_LEN 2*60 /* 2 hours of samples, one per minute */
|
||||
|
||||
|
|
Loading…
Reference in a new issue