mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -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
|
||||
convert_tradheli_parameters();
|
||||
#endif
|
||||
|
||||
// param count could have changed
|
||||
AP_Param::invalidate_count();
|
||||
}
|
||||
|
||||
bool Copter::is_tradheli() const
|
||||
|
Loading…
Reference in New Issue
Block a user