AP_Baro: fixed build warning

This commit is contained in:
Andrew Tridgell 2020-04-19 11:18:59 +10:00
parent ffd601aca4
commit 02aebfcd6f
1 changed files with 1 additions and 1 deletions

View File

@ -184,6 +184,7 @@ static void spi_init()
}
#endif
#ifdef HAL_INS_MPU60x0_NAME
/*
send a 16 bit command to the baro
*/
@ -193,7 +194,6 @@ static bool send_cmd16(uint16_t cmd)
return i2c_dev->transfer(cmd_b, 2, nullptr, 0);
}
#ifdef HAL_INS_MPU60x0_NAME
/*
read baro calibration data
*/