mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-25 17:25:18 +03:00
MSP_ADVANCED_TUNING renamed to MSP_PID_ADVANCED to match Betaflight
This commit is contained in:
parent
30ed4d10d9
commit
376df9d396
2 changed files with 4 additions and 4 deletions
|
@ -1044,7 +1044,7 @@ static bool mspFcProcessOutCommand(uint8_t cmdMSP, sbuf_t *dst, sbuf_t *src, msp
|
|||
sbufWriteU16(dst, 1); //BF: masterConfig.gyro_soft_notch_cutoff_2
|
||||
break;
|
||||
|
||||
case MSP_ADVANCED_TUNING:
|
||||
case MSP_PID_ADVANCED:
|
||||
sbufWriteU16(dst, currentProfile->pidProfile.rollPitchItermIgnoreRate);
|
||||
sbufWriteU16(dst, currentProfile->pidProfile.yawItermIgnoreRate);
|
||||
sbufWriteU16(dst, currentProfile->pidProfile.yaw_p_limit);
|
||||
|
@ -1366,7 +1366,7 @@ static mspResult_e mspFcProcessInCommand(uint8_t cmdMSP, sbuf_t *src)
|
|||
//BF: masterConfig.gyro_soft_notch_cutoff_2 = read16();
|
||||
break;
|
||||
|
||||
case MSP_SET_ADVANCED_TUNING:
|
||||
case MSP_SET_PID_ADVANCED:
|
||||
|
||||
currentProfile->pidProfile.rollPitchItermIgnoreRate = sbufReadU16(src);
|
||||
currentProfile->pidProfile.yawItermIgnoreRate = sbufReadU16(src);
|
||||
|
|
|
@ -205,8 +205,8 @@
|
|||
#define MSP_FILTER_CONFIG 92
|
||||
#define MSP_SET_FILTER_CONFIG 93
|
||||
|
||||
#define MSP_ADVANCED_TUNING 94
|
||||
#define MSP_SET_ADVANCED_TUNING 95
|
||||
#define MSP_PID_ADVANCED 94
|
||||
#define MSP_SET_PID_ADVANCED 95
|
||||
|
||||
#define MSP_SENSOR_CONFIG 96
|
||||
#define MSP_SET_SENSOR_CONFIG 97
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue