mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-26 09:26:25 +08:00
refactor ms5611: use driver base class
Also: remove device type auto-detection as it will not work with together with the new SPI board config (which specifies a specific device type)
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
|
||||
typedef uint32_t spi_drdy_gpio_t;
|
||||
|
||||
#define SPI_BUS_MAX_DEVICES 5
|
||||
#define SPI_BUS_MAX_DEVICES 6
|
||||
struct px4_spi_bus_device_t {
|
||||
uint32_t cs_gpio; ///< chip-select GPIO (0 if this device is not used)
|
||||
spi_drdy_gpio_t drdy_gpio; ///< data ready GPIO (0 if not set)
|
||||
|
||||
Reference in New Issue
Block a user