mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
Moved archos power handling into target tree. * Tuner power handling cleaned up a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14345 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
360d951271
commit
8a177345ce
22 changed files with 397 additions and 342 deletions
|
|
@ -28,19 +28,10 @@
|
|||
|
||||
#if CONFIG_TUNER
|
||||
|
||||
static bool powered = false;
|
||||
|
||||
bool tuner_powered(void)
|
||||
{
|
||||
return powered;
|
||||
}
|
||||
|
||||
bool tuner_power(bool status)
|
||||
{
|
||||
bool old_status = powered;
|
||||
powered = status;
|
||||
|
||||
return old_status;
|
||||
(void)status;
|
||||
return true;
|
||||
}
|
||||
|
||||
#endif /* #if CONFIG_TUNER */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue