detect usb or no usb for standalone mode [ryan]

This commit is contained in:
skamkar committed 2009-08-08 07:42:51 +00:00
1 parent 14ac2f1ea0
commit 50722269b6
3 files changed
+15 -7

No files matched your search

+8
View File
@@ -436,6 +436,14 @@ void UsbStart(void)
}
}
BOOL UsbConnected()
{
if (UDP_GLOBAL_STATE & UDP_GLOBAL_STATE_CONFIGURED)
return TRUE;
else
return FALSE;
}
BOOL UsbPoll(BOOL blinkLeds)
{
BOOL ret = FALSE;