Browse Source

update value type

Juraj Ďuďák 2 years ago
parent
commit
31bc68d1f8
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/icm20948.cpp

+ 3 - 3
src/icm20948.cpp

@@ -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();