forked from len0rd/rockbox
Do some planned radio interface cleanup since adding in the LV24020LP.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13880 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b51a20fb9b
commit
7d759f6b9c
23 changed files with 563 additions and 402 deletions
|
|
@ -30,7 +30,7 @@ static bool mono = false;
|
|||
static bool powered = false;
|
||||
#endif
|
||||
|
||||
int radio_set(int setting, int value)
|
||||
int tuner_set(int setting, int value)
|
||||
{
|
||||
switch(setting)
|
||||
{
|
||||
|
|
@ -59,7 +59,7 @@ int radio_set(int setting, int value)
|
|||
return 1;
|
||||
}
|
||||
|
||||
int radio_get(int setting)
|
||||
int tuner_get(int setting)
|
||||
{
|
||||
int val = 0;
|
||||
|
||||
|
|
@ -86,7 +86,7 @@ int radio_get(int setting)
|
|||
}
|
||||
|
||||
#ifdef HAVE_TUNER_PWR_CTRL
|
||||
bool radio_power(bool status)
|
||||
bool tuner_power(bool status)
|
||||
{
|
||||
bool oldstatus = powered;
|
||||
powered = status;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue