updated sensors and filter to current code version
removed KLib stuff added new activity filter is uncommand! at the moment, the app is not able to load new maps and breaks using old maps
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user