diff options
Diffstat (limited to 'WaitingFelForm.cs')
-rw-r--r-- | WaitingFelForm.cs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/WaitingFelForm.cs b/WaitingFelForm.cs index 6d8a6788..d6500adb 100644 --- a/WaitingFelForm.cs +++ b/WaitingFelForm.cs @@ -30,22 +30,6 @@ namespace com.clusterrr.hakchi_gui return form.DialogResult == DialogResult.OK;
}
- static bool DeviceExists(UInt16 vid, UInt16 pid)
- {
- try
- {
- using (var fel = new Fel())
- {
- fel.Open(vid, pid);
- return true;
- }
- }
- catch
- {
- return false;
- }
- }
-
private void timer_Tick(object sender, EventArgs e)
{
if (Fel.DeviceExists(vid, pid))
|