- stop communication if device already exists

master
Simon G 5 years ago
parent 697c7a1586
commit 1da798e9dc
  1. 2
      Mystify/MainModel.cs

@ -50,6 +50,8 @@ namespace Mystify
public void LoadDriverAndDevice(string driverPath)
{
_device?.StopCommunication();
IDriver? driver = _driverLoader.Load(driverPath);
if (driver == null)

Loading…
Cancel
Save