| 7 | #include "PDM_Sensor.h" |
| 8 | |
| 9 | class SensorManager_Earable : public SensorManagerInterface { |
| 10 | public: |
| 11 | void setup() override { |
| 12 | IMU_Sensor * imu = new IMU_Sensor(); |
| 13 | BARO_Sensor * baro = new BARO_Sensor(); |
| 14 | //DummySensor * dummy = new DummySensor(); |
| 15 | //PDM_Sensor * mic = new PDM_Sensor(); |
| 16 | |
| 17 | SensorInterface ** modules = new SensorInterface * [MODULE_COUNT_PHYSICAL] {imu, baro, &pdm_sensor}; |
| 18 | |
| 19 | SensorManagerInterface::set_modules(modules); |
| 20 | SensorManagerInterface::set_sensor_counts(SENSOR_COUNT, MODULE_COUNT_PHYSICAL); |
| 21 | //SensorManagerInterface::set_special_sensors(SpecialSensors, SPECIAL_SENSOR_COUNT); |
| 22 | |
| 23 | SensorManagerInterface::set_sensor_configs(CONFIG); |
| 24 | } |
| 25 | }; |
| 26 | |
| 27 | |
| 28 | #endif //EDGE_ML_EARABLE_SENSORMANAGER_EARABLE_H |
nothing calls this directly
no outgoing calls
no test coverage detected