mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
detect usb or no usb for standalone mode [ryan]
This commit is contained in:
parent
14ac2f1ea0
commit
50722269b6
3 changed files with 15 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue