added c++11 fixes

removed old components
disabled activity (for compiling reasons)
added wifi 2.4ghz hack
This commit is contained in:
k-a-z-u
2018-07-11 13:23:18 +02:00
parent b0712ec005
commit bb974d3871
18 changed files with 107 additions and 80 deletions

View File

@@ -30,7 +30,7 @@
#include "StepSensor.h"
#include "TurnSensor.h"
#include "ActivitySensor.h"
//#include "ActivitySensor.h"
class SensorFactory {
@@ -90,11 +90,11 @@ public:
return turns;
}
/** get the Activity sensor */
ActivitySensor& getActivity() {
static ActivitySensor activity(getBarometer(), getAccelerometer());
return activity;
}
// /** get the Activity sensor */
// ActivitySensor& getActivity() {
// static ActivitySensor activity(getBarometer(), getAccelerometer());
// return activity;
// }
};