private void button2_Click(object sender, EventArgs e) { _mMavLink.Dispose(); button1.Enabled = true; button2.Enabled = false; }
public void DisconnectMavlinkSerial() { MavSerialTransport.OnPacketReceived -= OnMavLinkPacketReceived; MavSerialTransport.Dispose(); }