From 5e1d7450e692b8d1c1a527d3fe44ccdf8ee7e06c Mon Sep 17 00:00:00 2001 From: "Dr.-Ing. Amilcar do Carmo Lucas" Date: Tue, 28 Jul 2020 13:05:51 +0200 Subject: [PATCH] ArduSub: Adapt to upstream mavlink changes to the SCALED_PRESSURE* messages --- ArduSub/GCS_Mavlink.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ArduSub/GCS_Mavlink.cpp b/ArduSub/GCS_Mavlink.cpp index 52989b4ac8ed8..c673786b9a143 100644 --- a/ArduSub/GCS_Mavlink.cpp +++ b/ArduSub/GCS_Mavlink.cpp @@ -107,7 +107,8 @@ void GCS_MAVLINK_Sub::send_scaled_pressure3() AP_HAL::millis(), 0, 0, - sub.celsius.temperature() * 100); + sub.celsius.temperature() * 100, + 0); // TODO: use differential pressure temperature } bool GCS_MAVLINK_Sub::send_info()