1
0
Fork 0
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:
Michael Sevakis 2007-06-06 19:39:59 +00:00
parent 21a4a87ca2
commit d89eba1619

View file

@ -26,6 +26,10 @@
static int frequency = 0;
static bool mono = false;
#ifdef HAVE_TUNER_PWR_CTRL
static bool powered = false;
#endif
int radio_set(int setting, int value)
{
switch(setting)
@ -81,4 +85,13 @@ int radio_get(int setting)
return val;
}
#ifdef HAVE_TUNER_PWR_CTRL
bool radio_power(bool status)
{
bool oldstatus = powered;
powered = status;
return oldstatus;
}
#endif
#endif