AP_InertialSensor_Oilpan: changed initialisation order of parameters to remove compiler warning

This commit is contained in:
rmackay9 2012-07-28 15:20:43 +09:00
parent f83ca8b296
commit ea4e56309d

View File

@ -52,13 +52,13 @@ const AP_Param::GroupInfo AP_InertialSensor_Oilpan::var_info[] PROGMEM = {
/* ------ Public functions -------------------------------------------*/ /* ------ Public functions -------------------------------------------*/
AP_InertialSensor_Oilpan::AP_InertialSensor_Oilpan( AP_ADC * adc ) : AP_InertialSensor_Oilpan::AP_InertialSensor_Oilpan( AP_ADC * adc ) :
_adc(adc),
_x_high(2465), _x_high(2465),
_x_low(1617), _x_low(1617),
_y_high(2465), _y_high(2465),
_y_low(1617), _y_low(1617),
_z_high(2465), _z_high(2465),
_z_low(1617) _z_low(1617),
_adc(adc)
{ {
_gyro.x = 0; _gyro.x = 0;
_gyro.y = 0; _gyro.y = 0;