mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
Multiple choice LED configuration instead of HAVE_LED. Removes erroneous MMC icon display on iriver, and saves some code on Ondio. Removed invert_led() as it is no longer used.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6568 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c9cc73ec19
commit
5690f78fb2
20 changed files with 62 additions and 56 deletions
|
|
@ -74,7 +74,7 @@ const unsigned char bitmap_icons_7x8[][7] =
|
|||
{0x20,0x30,0x38,0x3c,0x38,0x30,0x20}, /* Up-arrow */
|
||||
};
|
||||
|
||||
#ifndef HAVE_LED
|
||||
#if CONFIG_LED == LED_VIRTUAL
|
||||
/* Disk/MMC activity */
|
||||
const unsigned char bitmap_icon_disk[12] =
|
||||
{0x15,0x3f,0x7d,0x7B,0x77,0x67,0x79,0x7b,0x57,0x4f,0x47,0x7f};
|
||||
|
|
@ -405,7 +405,7 @@ void statusbar_icon_lock(void)
|
|||
STATUSBAR_Y_POS, 5, 8, false);
|
||||
}
|
||||
|
||||
#ifndef HAVE_LED
|
||||
#if CONFIG_LED == LED_VIRTUAL
|
||||
/*
|
||||
* no real LED: disk activity in status bar
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue