Browse Source

changed Xbee disconnection

QGC4.4
oberion 14 years ago
parent
commit
d384a2b1c3
  1. 4
      .gitignore
  2. 2
      src/comm/XbeeLink.cpp

4
.gitignore vendored

@ -33,6 +33,10 @@ user_config.pri @@ -33,6 +33,10 @@ user_config.pri
*.ncb
*.vcproj
*.vcxpproj*
*.sdf
*.ipch
*.pdb
*.sln
*.sln
*.vcproj

2
src/comm/XbeeLink.cpp

@ -194,7 +194,7 @@ bool XbeeLink::disconnect() @@ -194,7 +194,7 @@ bool XbeeLink::disconnect()
if(this->m_xbeeCon)
{
xbee_endcon(this->m_xbeeCon);
xbee_end();
this->m_xbeeCon = NULL;
}
this->m_connected = false;

Loading…
Cancel
Save