1
0
Fork 0
forked from len0rd/rockbox

Sansa AMS: do not pretend we can power off the tuner

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25029 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2010-03-05 01:43:47 +00:00
parent 5e0b407edf
commit 8653c0a567

View file

@ -54,21 +54,14 @@ void ide_power_enable(bool on)
}
#if CONFIG_TUNER
static bool tuner_on = false;
bool tuner_power(bool status)
{
if (status != tuner_on)
{
tuner_on = status;
status = !status;
}
return status;
(void) status;
return true;
}
bool tuner_powered(void)
{
return tuner_on; /* No debug info */
return true;
}
#endif