mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Trigger an additional battery level announcement when the level
reaches 5% (FS#8112). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15522 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c537760179
commit
194a66ef83
1 changed files with 1 additions and 1 deletions
|
@ -1226,7 +1226,7 @@ void shutdown_hw(void)
|
|||
levels. This must be called after battery_percent has been updated. */
|
||||
static void send_battery_level_event(void)
|
||||
{
|
||||
static const int levels[] = { 15, 30, 50, 0 };
|
||||
static const int levels[] = { 5, 15, 30, 50, 0 };
|
||||
const int *level = levels;
|
||||
while (*level)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue