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:
parent
75f82c7f2b
commit
944a2986a5
5 changed files with 77 additions and 49 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue