Showing the changes to interface/src/SerialInterface.cpp (1 of 1 file). Show all
Unified · Split
| @@ -34,7 +34,9 @@ const int GRAVITY_SAMPLES = 200; // Use the first samples to · 33 unmodified lines | |||
| 34 | const bool USING_INVENSENSE_MPU9150 = 1; | 34 | const bool USING_INVENSENSE_MPU9150 = 1; |
| 35 | 35 | ||
| 36 | SerialInterface::~SerialInterface() { | 36 | SerialInterface::~SerialInterface() { |
| 37 | #ifdef __APPLE__ | ||
| 37 | close(_serialDescriptor); | 38 | close(_serialDescriptor); |
| 39 | #endif | ||
| 38 | } | 40 | } |
| 39 | 41 | ||
| 40 | void SerialInterface::pair() { | 42 | void SerialInterface::pair() { |