mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 18:38:28 -04:00
IMU: fixed a warning
This commit is contained in:
parent
e9f35bfa7f
commit
d1976449fd
@ -58,7 +58,7 @@ AP_IMU_INS::_init_gyro(void (*delay_cb)(unsigned long t), void (*flash_leds_cb)(
|
||||
{
|
||||
Vector3f last_average, best_avg;
|
||||
float ins_gyro[3];
|
||||
float best_diff;
|
||||
float best_diff = 0;
|
||||
|
||||
// cold start
|
||||
delay_cb(100);
|
||||
|
Loading…
Reference in New Issue
Block a user