AP_InertialSensor: resolve compiler warning in example
This commit is contained in:
parent
e8debde4b7
commit
9ea16bec15
@ -162,7 +162,7 @@ static void run_test()
|
||||
hal.console->printf(" Gyro (%c) : X:%6.2f Y:%6.2f Z:%6.2f\n",
|
||||
state, (double)gyro.x, (double)gyro.y, (double)gyro.z);
|
||||
auto temp = ins.get_temperature(ii);
|
||||
hal.console->printf(" t:%6.2f\n", temp);
|
||||
hal.console->printf(" t:%6.2f\n", (double)temp);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user