mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
rk27xx: implement radio support
Change-Id: I59d3905e9b2a3df8aa235e424c7a6e0eff6d73e9 Reviewed-on: http://gerrit.rockbox.org/427 Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com> Tested-by: Marcin Bukat <marcin.bukat@gmail.com>
This commit is contained in:
parent
f49e750531
commit
a924df8d6d
7 changed files with 136 additions and 4 deletions
|
|
@ -38,6 +38,12 @@ void power_init(void)
|
|||
GPIO_PCCON |= (1<<0);
|
||||
}
|
||||
|
||||
bool tuner_power(bool status)
|
||||
{
|
||||
(void) status;
|
||||
return true;
|
||||
}
|
||||
|
||||
unsigned int power_input_status(void)
|
||||
{
|
||||
return (usb_detect() == USB_INSERTED) ? POWER_INPUT_MAIN_CHARGER : POWER_INPUT_NONE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue