mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-08-24 11:25:02 +02:00
closing of serial interface should be conditional on __APPLE__
This commit is contained in:
parent
2563d6a093
commit
784fa5882a
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