diff --git a/include/mavlink/v1.0 b/include/mavlink/v1.0 index b0c67c1..b94d73d 160000 --- a/include/mavlink/v1.0 +++ b/include/mavlink/v1.0 @@ -1 +1 @@ -Subproject commit b0c67c12dd46df0531cdf9b3c6636ae0814e3fd6 +Subproject commit b94d73d04c5b60f1f4a5f3c5dd62ffd33635fe6c diff --git a/src/mavrosflight/sensors/baro.cpp b/src/mavrosflight/sensors/baro.cpp index 86deed8..e1cfb8a 100644 --- a/src/mavrosflight/sensors/baro.cpp +++ b/src/mavrosflight/sensors/baro.cpp @@ -33,8 +33,8 @@ Baro::Baro() bool Baro::correct(mavlink_small_baro_t baro, double *alt) { - double pressure = baro.pressure; - double temperature = baro.temperature; + double pressure = (double)baro.pressure; + double temperature = (double)baro.temperature; if( calibration_counter_ > calibration_count_ + settling_count_) {