1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-14 20:10:11 +03:00

Use MSPV2_SET_SETTING to set small_angle to 180 on FW presets

- Add a json file with the types of all settings, generated by
the settings generator on INAV.
- Implement MSPV2_SETTING and MSPV2_SET_SETTING, which gives us
access to any value exposed via settings.
- Use this to set small_angle to 180 in FW presets.
This commit is contained in:
Alberto García Hierro 2017-10-07 10:01:03 +01:00
parent 12cf9fe2e5
commit a44a290c8c
6 changed files with 1798 additions and 2 deletions

View file

@ -140,5 +140,9 @@ var MSPCodes = {
MSP_BF_CONFIG: 66, // baseflight-specific settings that aren't covered elsewhere
MSP_SET_BF_CONFIG: 67, // baseflight-specific settings save
MSP_SET_REBOOT: 68, // reboot settings
MSP_BF_BUILD_INFO: 69 // build date as well as some space for future expansion
MSP_BF_BUILD_INFO: 69, // build date as well as some space for future expansion
// INAV specific codes
MSPV2_SETTING: 0x1003,
MSPV2_SET_SETTING: 0x1004,
};