mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 11:06:04 +08:00
boards: remove deprecated SPI + I2C defines from board_config.h
chip-selects are deselected in stm32_spiinitialize()
This commit is contained in:
@@ -50,9 +50,6 @@
|
||||
|
||||
|
||||
// I2C
|
||||
#define PX4_I2C_BUS_EXPANSION 1 // i2c-1: pins P9 17,18
|
||||
#define PX4_I2C_BUS_ONBOARD 2 // i2c-2: pins P9 19,20 - bmp280, mpu9250
|
||||
|
||||
#define PX4_NUMBER_I2C_BUSES 2
|
||||
|
||||
#define PX4_I2C_OBDEV_MPU9250 0x68
|
||||
|
||||
Reference in New Issue
Block a user