1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 06:15:16 +03:00

Use busDevice_s for reconfigurability

This commit is contained in:
jflyper 2018-04-28 21:58:56 +09:00
parent 75f82c7f2b
commit 944a2986a5
5 changed files with 77 additions and 49 deletions

View file

@ -938,6 +938,7 @@ const clivalue_t valueTable[] = {
// PG_MAX7456_CONFIG
#ifdef USE_MAX7456
{ "max7456_clock", VAR_UINT8 | MASTER_VALUE | MODE_LOOKUP, .config.lookup = { TABLE_MAX7456_CLOCK }, PG_MAX7456_CONFIG, offsetof(max7456Config_t, clockConfig) },
{ "max7456_spi_bus", VAR_UINT8 | MASTER_VALUE, .config.minmax = { 0, SPIDEV_COUNT }, PG_MAX7456_CONFIG, offsetof(max7456Config_t, spiDevice) },
#endif
// PG_DISPLAY_PORT_MSP_CONFIG