move SerialInterface constructor to header file

This commit is contained in:
Stephen Birarda 2013-05-06 13:18:06 -07:00
parent 2a240f6474
commit ee4c55afe7
2 changed files with 2 additions and 6 deletions

View file

@ -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__

View file

@ -36,7 +36,8 @@ extern const bool USING_INVENSENSE_MPU9150;
class SerialInterface {
public:
SerialInterface();
SerialInterface() : active(false),
_failedOpenAttempts(0) {}
void pair();
void readData();