mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 21:35:44 +03:00
Moved I2C parameter group into pg
directory.
This commit is contained in:
parent
a618de9e8e
commit
fa6a723c35
9 changed files with 266 additions and 198 deletions
|
@ -80,6 +80,7 @@
|
|||
#include "msp/msp_serial.h"
|
||||
|
||||
#include "pg/adc.h"
|
||||
#include "pg/bus_i2c.h"
|
||||
|
||||
#include "rx/rx.h"
|
||||
#include "rx/rx_spi.h"
|
||||
|
@ -438,7 +439,7 @@ void init(void)
|
|||
#endif // USE_SPI
|
||||
|
||||
#ifdef USE_I2C
|
||||
i2cHardwareConfigure();
|
||||
i2cHardwareConfigure(i2cConfig());
|
||||
|
||||
// Note: Unlike UARTs which are configured when client is present,
|
||||
// I2C buses are initialized unconditionally if they are configured.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue