Enable SPI for icm20948

This commit is contained in:
Niklas Jensen
2025-12-26 13:02:35 +01:00
parent 8da09d4959
commit c47d579fa2
4 changed files with 10 additions and 11 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ void Peripherals::begin() {
updatePins();
#if FT_ENABLED(USE_ICM20948)
#if USE_ICM20948_SPIMODE > 0
#if FT_ENABLED(USE_ICM20948_SPIMODE) > 0
ICM_20948_SPI* icm20948 = new ICM_20948_SPI;
#else
ICM_20948_I2C* icm20948 = new ICM_20948_I2C;