mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-07-10 13:29:52 -04:00
simulator: support usb_inserted %bu tag (FS#13843)
Change-Id: Ia236c51f338bd333795f17991eb9e3659e722c6c
This commit is contained in:
parent
29d62e933f
commit
aae46a822a
2 changed files with 5 additions and 7 deletions
|
|
@ -195,6 +195,11 @@ int usb_detect(void)
|
|||
return is_usb_inserted ? USB_INSERTED : USB_EXTRACTED;
|
||||
}
|
||||
|
||||
bool usb_inserted(void)
|
||||
{
|
||||
return is_usb_inserted;
|
||||
}
|
||||
|
||||
void usb_init(void)
|
||||
{
|
||||
}
|
||||
|
|
|
|||
|
|
@ -203,13 +203,6 @@ bool usb_charging_enable(bool on)
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifndef USB_NONE
|
||||
bool usb_inserted(void)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_REMOTE_LCD_TICKING
|
||||
void lcd_remote_emireduce(bool state)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue