Commit d384a2b1 authored by oberion's avatar oberion

changed Xbee disconnection

parent 5e14c1e5
......@@ -33,6 +33,10 @@ user_config.pri
*.ncb
*.vcproj
*.vcxpproj*
*.sdf
*.ipch
*.pdb
*.sln
*.sln
*.vcproj
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment