1
0
Fork 0
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:
mikeller 2017-12-23 19:20:19 +13:00
parent a618de9e8e
commit fa6a723c35
9 changed files with 266 additions and 198 deletions

View file

@ -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.