mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 17:38:32 -04:00
ArduCopter: invalidate param count when changing param tree structure
This commit is contained in:
parent
ffe9fa22a1
commit
265b9a42fb
@ -611,6 +611,9 @@ void Copter::allocate_motors(void)
|
|||||||
#if FRAME_CONFIG == HELI_FRAME
|
#if FRAME_CONFIG == HELI_FRAME
|
||||||
convert_tradheli_parameters();
|
convert_tradheli_parameters();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// param count could have changed
|
||||||
|
AP_Param::invalidate_count();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Copter::is_tradheli() const
|
bool Copter::is_tradheli() const
|
||||||
|
Loading…
Reference in New Issue
Block a user