px4_fmu-v4: deprecate boscch pixracer variant and cleanup SPI devs

This commit is contained in:
Daniel Agar
2019-11-12 11:18:57 -05:00
parent 00a7ac013c
commit 9183f44243
8 changed files with 33 additions and 82 deletions
+1 -3
View File
@@ -158,9 +158,7 @@ MPU6000_SPI_interface(int bus, int device_type, bool external_bus)
break;
case MPU_DEVICE_TYPE_ICM20608:
#if defined(PX4_SPIDEV_ICM)
cs = PX4_SPIDEV_ICM;
#elif defined(PX4_SPIDEV_ICM_20608)
#if defined(PX4_SPIDEV_ICM_20608)
cs = PX4_SPIDEV_ICM_20608;
#endif
break;