mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
Merge pull request #207 from birarda/master
add conditional closing of serial interface
This commit is contained in:
commit
188db4b6de
1 changed files with 2 additions and 0 deletions
|
@ -34,7 +34,9 @@ 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() {
|
||||
|
|
Loading…
Reference in a new issue