Merge remote-tracking branch 'upstream/master' into beta_fwtrim

This commit is contained in:
Thomas Gubler 2014-03-05 20:58:58 +01:00
commit 616fd13d33
1 changed files with 2 additions and 0 deletions

View File

@ -262,8 +262,10 @@ MulticopterAttitudeControl::MulticopterAttitudeControl() :
{
memset(&_v_att, 0, sizeof(_v_att));
memset(&_v_att_sp, 0, sizeof(_v_att_sp));
memset(&_v_rates_sp, 0, sizeof(_v_rates_sp));
memset(&_manual_control_sp, 0, sizeof(_manual_control_sp));
memset(&_v_control_mode, 0, sizeof(_v_control_mode));
memset(&_actuators, 0, sizeof(_actuators));
memset(&_armed, 0, sizeof(_armed));
_params.att_p.zero();