mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
Merge pull request #5889 from jflyper/bfdev-poc-pg-array-resource
Add handling for array of PG structures in cli resource command.
This commit is contained in:
commit
ba1cff8b39
13 changed files with 98 additions and 78 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue