added opertaor << and fix remove calibration
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
|
||||
#include <QMC5883LCompass.h>
|
||||
#include <Preferences.h>
|
||||
#include <iostream>
|
||||
|
||||
class CalibrateCompass {
|
||||
public:
|
||||
@@ -39,6 +40,8 @@ class CalibrateCompass {
|
||||
State getState() const { return this->state; }
|
||||
CallibrationData getCallibrationData() const { return this->data; }
|
||||
|
||||
friend std::ostream& operator<<(std::ostream& os, const CalibrateCompass& caliComp);
|
||||
|
||||
private:
|
||||
QMC5883LCompass* compass;
|
||||
State state;
|
||||
|
||||
Reference in New Issue
Block a user