mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 09:33:36 +02:00
move SerialInterface constructor to header file
This commit is contained in:
parent
2a240f6474
commit
ee4c55afe7
2 changed files with 2 additions and 6 deletions
|
@ -34,11 +34,6 @@ const int GRAVITY_SAMPLES = 200; // Use the first samples to
|
|||
|
||||
const bool USING_INVENSENSE_MPU9150 = 1;
|
||||
|
||||
SerialInterface::SerialInterface() :
|
||||
active(false),
|
||||
_failedOpenAttempts(0) {
|
||||
}
|
||||
|
||||
void SerialInterface::pair() {
|
||||
|
||||
#ifdef __APPLE__
|
||||
|
|
|
@ -36,7 +36,8 @@ extern const bool USING_INVENSENSE_MPU9150;
|
|||
|
||||
class SerialInterface {
|
||||
public:
|
||||
SerialInterface();
|
||||
SerialInterface() : active(false),
|
||||
_failedOpenAttempts(0) {}
|
||||
void pair();
|
||||
void readData();
|
||||
|
||||
|
|
Loading…
Reference in a new issue