From 9b4b939b1b9b6521343ee9e09f5dec7d4033daae 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 | 8 -------- 1 file changed, 8 deletions(-) diff --git a/esp32/include/peripherals/imu.h b/esp32/include/peripherals/imu.h index 0b25f32..5421aa2 100644 --- a/esp32/include/peripherals/imu.h +++ b/esp32/include/peripherals/imu.h @@ -152,14 +152,6 @@ class IMU : public SensorBase { _msg.rpy[0] = event.orientation.x; _msg.rpy[1] = event.orientation.y; _msg.rpy[2] = event.orientation.z; -#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 #endif return true; }