Rev 2933 Rev 2935
Line 475... Line 475...
475 // Switch LED Off 475 // Switch LED Off
476 jtagSetLED(false); 476 jtagSetLED(false);
477   477  
478 return 0; 478 return 0;
479 } 479 }
-   480  
-   481 // Check if Cable is still connected and accesible
-   482 // True is o.k.
-   483 bool CheckCable()
-   484 {
-   485 FT_STATUS ftStatus;
-   486  
-   487 DWORD lpdwAmountInRxQueue, lpdwAmountInTxQueue, lpdwEventStatus;
-   488  
-   489 ftStatus = FT_GetStatus(ftHandle, &lpdwAmountInRxQueue, &lpdwAmountInTxQueue, &lpdwEventStatus);
-   490 return (ftStatus==FT_OK);
-   491 }