1
0
Fork 0
forked from len0rd/rockbox

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:
Jens Arnold 2005-06-04 23:15:52 +00:00
parent c9cc73ec19
commit 5690f78fb2
20 changed files with 62 additions and 56 deletions

View file

@ -277,7 +277,7 @@ void init(void)
#ifdef AUTOROCK
if (!usb_detect())
{
{
int fd;
static const char filename[] = PLUGIN_DIR "/autostart.rock";
@ -303,8 +303,10 @@ int main(void)
app_main();
while(1) {
#if CONFIG_LED == LED_REAL
led(true); sleep(HZ/10);
led(false); sleep(HZ/10);
#endif
}
return 0;
}