Converted Host mode demos to schedulerless. Fixed host mode broken due to earlier Start-of-frame event experiments.
This commit is contained in:
parent
33a0184749
commit
ac70ddd0a1
39 changed files with 405 additions and 838 deletions
|
@ -119,10 +119,10 @@ static uint8_t MassStore_WaitForDataReceived(void)
|
|||
while (!(Pipe_IsINReceived()))
|
||||
{
|
||||
/* Check to see if a new frame has been issued (1ms elapsed) */
|
||||
if (FrameElapsed)
|
||||
if (USB_INT_HasOccurred(USB_INT_HSOFI))
|
||||
{
|
||||
/* Clear the flag and decrement the timeout period counter */
|
||||
FrameElapsed = false;
|
||||
USB_INT_Clear(USB_INT_HSOFI);
|
||||
TimeoutMSRem--;
|
||||
|
||||
/* Check to see if the timeout period for the command has elapsed */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue