mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-21 23:35:34 +03:00
Support configuring AUX 5 to 8.
The MSP is changed in a way that might provide some backwards compatibility. The first 4 channels are sent/read as before followed by the next 4 channels. If I client ignores extra data received it should be backwards compatible. Clients can looks for the new capability bit which indicates the MSP protocol supports AUX 1-8.
This commit is contained in:
parent
68f428d73a
commit
d718f5b9d6
6 changed files with 30 additions and 12 deletions
|
@ -58,7 +58,7 @@ void mixerUseConfigs(servoParam_t *servoConfToUse, flight3DConfig_t *flight3DCon
|
|||
#define FLASH_WRITE_ADDR (0x08000000 + (uint32_t)((FLASH_PAGE_SIZE * FLASH_PAGE_COUNT) - FLASH_TO_RESERVE_FOR_CONFIG)) // use the last flash pages for storage
master_t masterConfig; // master config struct with data independent from profiles
|
||||
profile_t currentProfile; // profile config struct
|
||||
|
||||
static const uint8_t EEPROM_CONF_VERSION = 70;
|
||||
static const uint8_t EEPROM_CONF_VERSION = 71;
|
||||
|
||||
static void resetAccelerometerTrims(flightDynamicsTrims_t *accelerometerTrims)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue