[fix] fixed MotorConfiguration copy constructor to copy motor as well
This commit is contained in:
parent
746024cced
commit
1c326c88c3
@ -50,7 +50,9 @@ public class MotorConfiguration implements FlightConfigurableParameter<MotorConf
|
||||
this( _mount, _fcid);
|
||||
|
||||
if( null != _source){
|
||||
ejectionDelay = _source.getEjectionDelay();
|
||||
motor = _source.motor;
|
||||
ejectionDelay = _source.ejectionDelay;
|
||||
ignitionOveride = _source.ignitionOveride;
|
||||
ignitionEvent = _source.getIgnitionEvent();
|
||||
ignitionDelay = _source.getIgnitionDelay();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user