mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58:28 -04:00
AP_InertialSensor_Oilpan: changed initialisation order of parameters to remove compiler warning
This commit is contained in:
parent
ef870e3ca1
commit
48074f4766
@ -52,13 +52,13 @@ const AP_Param::GroupInfo AP_InertialSensor_Oilpan::var_info[] PROGMEM = {
|
||||
/* ------ Public functions -------------------------------------------*/
|
||||
|
||||
AP_InertialSensor_Oilpan::AP_InertialSensor_Oilpan( AP_ADC * adc ) :
|
||||
_adc(adc),
|
||||
_x_high(2465),
|
||||
_x_low(1617),
|
||||
_y_high(2465),
|
||||
_y_low(1617),
|
||||
_z_high(2465),
|
||||
_z_low(1617)
|
||||
_z_low(1617),
|
||||
_adc(adc)
|
||||
{
|
||||
_gyro.x = 0;
|
||||
_gyro.y = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user