mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 17:00:13 +02:00
Merge pull request #239 from birarda/master
remove serial closing in SerialInterface destructor
This commit is contained in:
commit
24193bf1a7
2 changed files with 0 additions and 7 deletions
|
@ -33,12 +33,6 @@ const int GRAVITY_SAMPLES = 200; // Use the first samples to
|
||||||
|
|
||||||
const bool USING_INVENSENSE_MPU9150 = 1;
|
const bool USING_INVENSENSE_MPU9150 = 1;
|
||||||
|
|
||||||
SerialInterface::~SerialInterface() {
|
|
||||||
#ifdef __APPLE__
|
|
||||||
close(_serialDescriptor);
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
void SerialInterface::pair() {
|
void SerialInterface::pair() {
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
|
|
|
@ -38,7 +38,6 @@ class SerialInterface {
|
||||||
public:
|
public:
|
||||||
SerialInterface() : active(false),
|
SerialInterface() : active(false),
|
||||||
_failedOpenAttempts(0) {}
|
_failedOpenAttempts(0) {}
|
||||||
~SerialInterface();
|
|
||||||
|
|
||||||
void pair();
|
void pair();
|
||||||
void readData();
|
void readData();
|
||||||
|
|
Loading…
Reference in a new issue