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:
parent
5e0b407edf
commit
8653c0a567
1 changed files with 3 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue