mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 16:48:29 -04:00
AP_InertialSensor_Oilpan: changed initialisation order of parameters to remove compiler warning
This commit is contained in:
parent
f83ca8b296
commit
ea4e56309d
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user