1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00

Add handling of array of pg structures in cli resource command.

This commit is contained in:
jflyper 2018-05-14 16:39:43 +09:00
parent eab55fc3ee
commit 20b187fea9
13 changed files with 98 additions and 78 deletions

View file

@ -446,7 +446,7 @@ void init(void)
#else
#ifdef USE_SPI
spiPinConfigure(spiPinConfig());
spiPinConfigure(spiPinConfig(0));
// Initialize CS lines and keep them high
spiPreInit();
@ -479,7 +479,7 @@ void init(void)
#endif
#ifdef USE_I2C
i2cHardwareConfigure(i2cConfig());
i2cHardwareConfigure(i2cConfig(0));
// Note: Unlike UARTs which are configured when client is present,
// I2C buses are initialized unconditionally if they are configured.