Browse Source

Fix XBee on Windows

QGC4.4
Don Gagne 11 years ago
parent
commit
4463777022
  1. 2
      src/comm/XbeeLink.cpp
  2. 1
      src/ui/CommConfigurationWindow.cc

2
src/comm/XbeeLink.cpp

@ -162,7 +162,6 @@ bool XbeeLink::hardwareConnect() @@ -162,7 +162,6 @@ bool XbeeLink::hardwareConnect()
emit tryConnectEnd(true);
this->m_connected = true;
emit connected();
emit connected(true);
return true;
}
@ -185,7 +184,6 @@ bool XbeeLink::_disconnect(void) @@ -185,7 +184,6 @@ bool XbeeLink::_disconnect(void)
this->m_connected = false;
emit disconnected();
emit connected(false);
return true;
}

1
src/ui/CommConfigurationWindow.cc

@ -273,7 +273,6 @@ void CommConfigurationWindow::setLinkType(qgc_link_t linktype) @@ -273,7 +273,6 @@ void CommConfigurationWindow::setLinkType(qgc_link_t linktype)
{
XbeeLink *xbee = new XbeeLink();
tmpLink = xbee;
MainWindow::instance()->addLink(tmpLink);
break;
}
#endif // QGC_XBEE_ENABLED

Loading…
Cancel
Save