mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 14:25:20 +03:00
Merge remote-tracking branch 'multiwii/master'
Conflicts: src/board.h src/drv_timer.c src/mw.c src/sensors.c
This commit is contained in:
commit
79a90b09ef
3 changed files with 4 additions and 4 deletions
|
@ -290,7 +290,7 @@ void i2cInit(I2C_TypeDef *I2C)
|
|||
I2C_Cmd(I2Cx, ENABLE);
|
||||
I2C_Init(I2Cx, &I2C_InitStructure);
|
||||
|
||||
NVIC_PriorityGroupConfig(0x500);
|
||||
NVIC_PriorityGroupConfig(NVIC_PriorityGroup_2);
|
||||
|
||||
// I2C ER Interrupt
|
||||
NVIC_InitStructure.NVIC_IRQChannel = I2C2_ER_IRQn;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue