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

Merge pull request #5783 from jflyper/bfdev-max7456-busdevice-conversion

MAX7456 Increase (re)configurability
This commit is contained in:
Michael Keller 2018-05-05 18:32:02 +12:00 committed by GitHub
commit 65d9e08f1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 107 additions and 54 deletions

View file

@ -920,6 +920,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