|
|
@@ -41,9 +41,9 @@ Icm20948::Icm20948(SpiManager *spi, icm20948_Config *config){
|
|
|
|
|
|
while(!this->icm20948_who_am_i());
|
|
|
|
|
|
- this->accSensor->data.type = ICM20948_ACCEL + _activeDevice;
|
|
|
- this->gyroSensor->data.type = ICM20948_GYRO + _activeDevice;
|
|
|
- this->magSensor->data.type = ICM20948_MAG + _activeDevice;
|
|
|
+ this->accSensor->data.type = ICM20948_ACCEL; // + _activeDevice;
|
|
|
+ this->gyroSensor->data.type = ICM20948_GYRO; // + _activeDevice;
|
|
|
+ this->magSensor->data.type = ICM20948_MAG; // + _activeDevice;
|
|
|
|
|
|
this->Reset();
|
|
|
this->Wakeup();
|