AP_Motors: init member to resolve compiler warning

This commit is contained in:
Leonard Hall 2016-01-20 18:06:16 +09:00 committed by Randy Mackay
parent ed51c7a28d
commit 8e1351e474
1 changed files with 2 additions and 1 deletions

View File

@ -39,7 +39,8 @@ AP_Motors::AP_Motors(uint16_t loop_rate, uint16_t speed_hz) :
_throttle_filter(), _throttle_filter(),
_batt_voltage(0.0f), _batt_voltage(0.0f),
_batt_current(0.0f), _batt_current(0.0f),
_air_density_ratio(1.0f) _air_density_ratio(1.0f),
_motor_map_mask(0)
{ {
// init other flags // init other flags
_flags.armed = false; _flags.armed = false;