IMU: fixed a warning

This commit is contained in:
Andrew Tridgell 2012-03-07 15:15:23 +11:00
parent 4dff78b9c0
commit 919874f2a0
1 changed files with 1 additions and 1 deletions

View File

@ -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);