mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-19 14:25:16 +03:00
Update fc_msp.c
This commit is contained in:
parent
3e1d88289e
commit
2ef3c261cf
1 changed files with 1 additions and 1 deletions
|
@ -2284,7 +2284,7 @@ static mspResult_e mspFcProcessInCommand(uint16_t cmdMSP, sbuf_t *src)
|
|||
|
||||
#ifdef USE_NAV
|
||||
case MSP_SET_NAV_POSHOLD:
|
||||
if (dataSize >= 15) {
|
||||
if (dataSize >= 13) {
|
||||
navConfigMutable()->general.flags.user_control_mode = sbufReadU8(src);
|
||||
navConfigMutable()->general.auto_speed = sbufReadU16(src);
|
||||
navConfigMutable()->general.max_auto_speed = sbufReadU16(src);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue