forked from len0rd/rockbox
As ususual, fix the sim errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13574 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
21a4a87ca2
commit
d89eba1619
1 changed files with 13 additions and 0 deletions
|
|
@ -26,6 +26,10 @@
|
||||||
static int frequency = 0;
|
static int frequency = 0;
|
||||||
static bool mono = false;
|
static bool mono = false;
|
||||||
|
|
||||||
|
#ifdef HAVE_TUNER_PWR_CTRL
|
||||||
|
static bool powered = false;
|
||||||
|
#endif
|
||||||
|
|
||||||
int radio_set(int setting, int value)
|
int radio_set(int setting, int value)
|
||||||
{
|
{
|
||||||
switch(setting)
|
switch(setting)
|
||||||
|
|
@ -81,4 +85,13 @@ int radio_get(int setting)
|
||||||
return val;
|
return val;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_TUNER_PWR_CTRL
|
||||||
|
bool radio_power(bool status)
|
||||||
|
{
|
||||||
|
bool oldstatus = powered;
|
||||||
|
powered = status;
|
||||||
|
return oldstatus;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue