mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-12 19:10:32 +03:00
Updated following merge from master
This commit is contained in:
parent
97fe2d25dc
commit
c34c80a85b
5 changed files with 9 additions and 1 deletions
|
@ -37,7 +37,9 @@
|
|||
|
||||
typedef enum {DISABLE = 0, ENABLE = !DISABLE} FunctionalState;
|
||||
|
||||
#define I2C_TypeDef i2c0_hw
|
||||
#define I2C_TypeDef I2C0_Type
|
||||
#define I2C_INST(i2c) ((i2c_inst_t *)(i2c))
|
||||
|
||||
//#define I2C_HandleTypeDef
|
||||
#define GPIO_TypeDef io_bank0_hw_t
|
||||
//#define GPIO_InitTypeDef
|
|
@ -246,6 +246,9 @@ SPARE3 P47
|
|||
#define SPIDEV_COUNT 2
|
||||
#define MAX_SPI_PIN_SEL 4
|
||||
|
||||
#define I2CDEV_COUNT 2
|
||||
#define MAX_I2C_PIN_SEL 4
|
||||
|
||||
#define UART_RX_BUFFER_SIZE 1024
|
||||
#define UART_TX_BUFFER_SIZE 1024
|
||||
|
||||
|
|
|
@ -242,6 +242,9 @@ SPARE3 P47
|
|||
#define SPIDEV_COUNT 2
|
||||
#define MAX_SPI_PIN_SEL 6
|
||||
|
||||
#define I2CDEV_COUNT 2
|
||||
#define MAX_I2C_PIN_SEL 6
|
||||
|
||||
#define UART_RX_BUFFER_SIZE 1024
|
||||
#define UART_TX_BUFFER_SIZE 1024
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue