drivers/imu/st: rewrite l3gd20/l3gd20h/lsm303d drivers

This commit is contained in:
Daniel Agar
2022-04-11 23:34:32 -04:00
parent bb2ea574aa
commit 0e9572546e
34 changed files with 2634 additions and 1825 deletions
@@ -50,7 +50,7 @@
typedef uint32_t spi_drdy_gpio_t;
#define SPI_BUS_MAX_DEVICES 6
#define SPI_BUS_MAX_DEVICES 7
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)