summaryrefslogtreecommitdiff
path: root/firmware/export/powermgmt.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/powermgmt.h')
-rw-r--r--firmware/export/powermgmt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/powermgmt.h b/firmware/export/powermgmt.h
index eb0ba29f28..1a54006a7d 100644
--- a/firmware/export/powermgmt.h
+++ b/firmware/export/powermgmt.h
@@ -19,7 +19,7 @@
19#ifndef _POWERMGMT_H_ 19#ifndef _POWERMGMT_H_
20#define _POWERMGMT_H_ 20#define _POWERMGMT_H_
21 21
22#ifdef HAVE_LIION /* FM Recorder, LiIon */ 22#if CONFIG_BATTERY == BATT_LIION2200 /* FM Recorder, LiIon */
23#define BATTERY_LEVEL_SHUTDOWN 260 /* 2.60V */ 23#define BATTERY_LEVEL_SHUTDOWN 260 /* 2.60V */
24#define BATTERY_LEVEL_EMPTY 265 /* 2.65V */ 24#define BATTERY_LEVEL_EMPTY 265 /* 2.65V */
25#define BATTERY_LEVEL_DANGEROUS 280 /* 2.80V */ 25#define BATTERY_LEVEL_DANGEROUS 280 /* 2.80V */
@@ -71,7 +71,7 @@ extern int trickle_sec; /* trickle charge: How many seconds per minute
71 71
72#endif /* HAVE_CHARGE_CTRL */ 72#endif /* HAVE_CHARGE_CTRL */
73 73
74#if defined(HAVE_CHARGE_CTRL) || defined(HAVE_LIION) 74#if defined(HAVE_CHARGE_CTRL) || CONFIG_BATTERY == BATT_LIION2200
75extern int charge_state; /* tells what the charger is doing (for info display): 0: decharging/charger off, 1: charge, 2: top-off, 3: trickle */ 75extern int charge_state; /* tells what the charger is doing (for info display): 0: decharging/charger off, 1: charge, 2: top-off, 3: trickle */
76#endif 76#endif
77 77