AP_OpticalFlow: resolve compiler warning

This commit is contained in:
Randy Mackay 2016-11-22 19:27:08 +09:00
parent dfd58cc57b
commit a517db4b5e
1 changed files with 2 additions and 2 deletions

View File

@ -70,8 +70,8 @@ const AP_Param::GroupInfo OpticalFlow::var_info[] = {
// default constructor
OpticalFlow::OpticalFlow(AP_AHRS_NavEKF &ahrs)
: _last_update_ms(0)
, _ahrs(ahrs)
: _ahrs(ahrs),
_last_update_ms(0)
{
AP_Param::setup_object_defaults(this, var_info);