From d384a2b1c34387dbd1dad656a88d5affe2f0536d Mon Sep 17 00:00:00 2001 From: oberion Date: Tue, 2 Aug 2011 10:51:01 +0200 Subject: [PATCH] changed Xbee disconnection --- .gitignore | 4 ++++ src/comm/XbeeLink.cpp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index f37b7d808..a5df89879 100644 --- a/.gitignore +++ b/.gitignore @@ -33,6 +33,10 @@ user_config.pri *.ncb *.vcproj +*.vcxpproj* +*.sdf +*.ipch +*.pdb *.sln *.sln *.vcproj diff --git a/src/comm/XbeeLink.cpp b/src/comm/XbeeLink.cpp index 0a2726754..0ddb0d86d 100644 --- a/src/comm/XbeeLink.cpp +++ b/src/comm/XbeeLink.cpp @@ -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; -- 2.22.0