Skip to content
Snippets Groups Projects
Commit d384a2b1 authored by oberion's avatar oberion
Browse files

changed Xbee disconnection

parent 5e14c1e5
No related branches found
No related tags found
No related merge requests found
...@@ -33,6 +33,10 @@ user_config.pri ...@@ -33,6 +33,10 @@ user_config.pri
*.ncb *.ncb
*.vcproj *.vcproj
*.vcxpproj*
*.sdf
*.ipch
*.pdb
*.sln *.sln
*.sln *.sln
*.vcproj *.vcproj
......
...@@ -194,7 +194,7 @@ bool XbeeLink::disconnect() ...@@ -194,7 +194,7 @@ bool XbeeLink::disconnect()
if(this->m_xbeeCon) if(this->m_xbeeCon)
{ {
xbee_endcon(this->m_xbeeCon); xbee_end();
this->m_xbeeCon = NULL; this->m_xbeeCon = NULL;
} }
this->m_connected = false; this->m_connected = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment