Gigabeat S: Revert removal of usb_plugged in r31489

Synchronous cable read is still required because the timing of the receipt of
the cable event cannot be known for sure-- basically it introduced a thread
race between main and pmic. If a keypress is desired instead to enter BL USB
mode a la AS3525, then it's possible to remove that.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31510 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sevakis 2012-01-01 03:19:52 +00:00
parent 7b22ea0d37
commit 36bc6a1fd5
3 changed files with 10 additions and 4 deletions

View file

@ -85,6 +85,7 @@ struct ARM_REGS {
void dumpregs(void);
bool usb_plugged(void);
void usb_connect_event(void);
/** Sector read/write filters **/