Skip to content
Snippets Groups Projects
Commit ea4e5630 authored by rmackay9's avatar rmackay9
Browse files

AP_InertialSensor_Oilpan: changed initialisation order of parameters to remove compiler warning

parent f83ca8b2
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment