Пример #1
0
 private void button2_Click(object sender, EventArgs e)
 {
     _mMavLink.Dispose();
     button1.Enabled = true;
     button2.Enabled = false;
 }
Пример #2
0
 public void DisconnectMavlinkSerial()
 {
     MavSerialTransport.OnPacketReceived -= OnMavLinkPacketReceived;
     MavSerialTransport.Dispose();
 }