summaryrefslogtreecommitdiff
path: root/firmware/export/powermgmt.h
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2021-11-29 10:06:06 +0000
committerAidan MacDonald <amachronic@protonmail.com>2021-12-05 13:14:47 -0500
commita6e90d23550b83cf6c83db4f3e3046b7b196c1fd (patch)
treef6fd1d11300975ca686142ce8440c3d678fcda7d /firmware/export/powermgmt.h
parent34b7b715e8ac83142a8f16e26a7b17c47f2d5642 (diff)
downloadrockbox-a6e90d23550b83cf6c83db4f3e3046b7b196c1fd.tar.gz
rockbox-a6e90d23550b83cf6c83db4f3e3046b7b196c1fd.zip
powermgmt: Remove outdated defines
CHARGING_DEBUG_FILE is not referenced anywhere else so just remove the #ifdef block. Change-Id: Icf4bd4edb7d38bdc86477d7d1f4e7bf9cf697d31
Diffstat (limited to 'firmware/export/powermgmt.h')
-rw-r--r--firmware/export/powermgmt.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/firmware/export/powermgmt.h b/firmware/export/powermgmt.h
index 235f5302f9..f45690573a 100644
--- a/firmware/export/powermgmt.h
+++ b/firmware/export/powermgmt.h
@@ -104,12 +104,6 @@ void powermgmt_init(void) INIT_ATTR;
104#endif 104#endif
105#endif /* CONFIG_CHARGING */ 105#endif /* CONFIG_CHARGING */
106 106
107#ifdef CHARGING_DEBUG_FILE
108#define POWERMGMT_DEBUG_STACK ((0x1000)/sizeof(long))
109#else
110#define POWERMGMT_DEBUG_STACK 0
111#endif
112
113#ifndef BATT_AVE_SAMPLES 107#ifndef BATT_AVE_SAMPLES
114/* slw filter constant unless otherwise specified */ 108/* slw filter constant unless otherwise specified */
115#define BATT_AVE_SAMPLES 128 109#define BATT_AVE_SAMPLES 128