remove the serial interface close in destructor, incorrect solution

This commit is contained in:
Stephen Birarda 2013-05-07 17:09:49 -07:00
parent 106dd3c6d2
commit 75ba88923f
2 changed files with 0 additions and 7 deletions

View file

@ -33,12 +33,6 @@ const int GRAVITY_SAMPLES = 200; // Use the first samples to
const bool USING_INVENSENSE_MPU9150 = 1;
SerialInterface::~SerialInterface() {
#ifdef __APPLE__
close(_serialDescriptor);
#endif
}
void SerialInterface::pair() {
#ifdef __APPLE__

View file

@ -38,7 +38,6 @@ class SerialInterface {
public:
SerialInterface() : active(false),
_failedOpenAttempts(0) {}
~SerialInterface();
void pair();
void readData();