mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 09:16:07 +03:00
squash betaflightF7
Parts and driver boost from @npsm
This commit is contained in:
parent
bd452b58b8
commit
1f8805cdf0
54 changed files with 7756 additions and 41 deletions
|
@ -33,7 +33,8 @@ typedef enum I2CDevice {
|
|||
I2CDEV_1 = 0,
|
||||
I2CDEV_2,
|
||||
I2CDEV_3,
|
||||
I2CDEV_MAX = I2CDEV_3,
|
||||
I2CDEV_4,
|
||||
I2CDEV_MAX = I2CDEV_4,
|
||||
} I2CDevice;
|
||||
|
||||
typedef struct i2cDevice_s {
|
||||
|
@ -46,6 +47,9 @@ typedef struct i2cDevice_s {
|
|||
uint8_t ev_irq;
|
||||
uint8_t er_irq;
|
||||
#endif
|
||||
#if defined(STM32F7)
|
||||
uint8_t af;
|
||||
#endif
|
||||
} i2cDevice_t;
|
||||
|
||||
typedef struct i2cState_s {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue