Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

+21
+3
firmware/export/config/sansac200v2.h
··· 154 154 #define CURRENT_BACKLIGHT 25 155 155 #define CURRENT_RECORD CURRENT_NORMAL 156 156 157 + /* maximum charging current */ 158 + #define CURRENT_MAX_CHG 200 159 + 157 160 /* The start address index for ROM builds */ 158 161 #define ROM_START 0x00000000 159 162
+3
firmware/export/config/sansaclip.h
··· 158 158 #define CURRENT_BACKLIGHT 13 159 159 #define CURRENT_RECORD CURRENT_NORMAL 160 160 161 + /* maximum charging current */ 162 + #define CURRENT_MAX_CHG 150 163 + 161 164 /* Define this to the CPU frequency */ 162 165 #define CPU_FREQ 248000000 163 166
+2
firmware/export/config/sansaclipplus.h
··· 165 165 #define CURRENT_BACKLIGHT 15 166 166 #define CURRENT_RECORD CURRENT_NORMAL /* TODO */ 167 167 168 + /* maximum charging current */ 169 + #define CURRENT_MAX_CHG 150 168 170 169 171 /* Define this to the CPU frequency */ 170 172 #define CPU_FREQ 240000000
+3
firmware/export/config/sansaclipv2.h
··· 161 161 #define CURRENT_BACKLIGHT 15 162 162 #define CURRENT_RECORD 11 163 163 164 + /* maximum charging current */ 165 + #define CURRENT_MAX_CHG 150 166 + 164 167 /* Define this to the CPU frequency */ 165 168 #define CPU_FREQ 240000000 166 169
+3
firmware/export/config/sansae200v2.h
··· 162 162 #define CURRENT_BACKLIGHT 30 163 163 #define CURRENT_RECORD CURRENT_NORMAL 164 164 165 + /* maximum charging current */ 166 + #define CURRENT_MAX_CHG 300 167 + 165 168 /* The start address index for ROM builds */ 166 169 #define ROM_START 0x00000000 167 170
+3
firmware/export/config/sansafuze.h
··· 166 166 #define CURRENT_BACKLIGHT 30 167 167 #define CURRENT_RECORD CURRENT_NORMAL 168 168 169 + /* maximum charging current */ 170 + #define CURRENT_MAX_CHG 200 171 + 169 172 /* Define this to the CPU frequency */ 170 173 #define CPU_FREQ 248000000 171 174
+3
firmware/export/config/sansafuzev2.h
··· 168 168 #define CURRENT_BACKLIGHT 30 169 169 #define CURRENT_RECORD CURRENT_NORMAL 170 170 171 + /* maximum charging current */ 172 + #define CURRENT_MAX_CHG 200 173 + 171 174 /* Define this to the CPU frequency */ 172 175 #define CPU_FREQ 240000000 173 176
+1
firmware/export/powermgmt.h
··· 22 22 #define _POWERMGMT_H_ 23 23 24 24 #include <stdbool.h> 25 + #include "config.h" 25 26 26 27 #define POWER_HISTORY_LEN 2*60 /* 2 hours of samples, one per minute */ 27 28