From ee571ed0ff2e24ecbc7617ecabf6071f43aff48b Mon Sep 17 00:00:00 2001 From: Niklas Jensen Date: Fri, 26 Dec 2025 22:17:58 +0100 Subject: [PATCH] Removed garbage code --- esp32/include/peripherals/imu.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/esp32/include/peripherals/imu.h b/esp32/include/peripherals/imu.h index 6454412..baee25a 100644 --- a/esp32/include/peripherals/imu.h +++ b/esp32/include/peripherals/imu.h @@ -91,18 +91,6 @@ class IMU : public SensorBase { } #endif #if FT_ENABLED(USE_BNO055) -#endif -#if FT_ENABLED(USE_ICM20948) - #if FT_ENABLED(USE_ICM20948_SPIMODE) > 0 - ICM_20948_SPI _imu; - #else - //#define WIRE_PORT Wire - ICM_20948_I2C _imu; - #endif - if (!_imu.update()) return false; - _msg.rpy[0] = _imu.getHeading(); - _msg.rpy[1] = _imu.getPitch(); - _msg.rpy[2] = _imu.getRoll(); #endif return true; }