From d1160710546f946c3b8c465aa5cca9de7424096b Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 5 May 2016 10:10:24 +1000 Subject: [PATCH] Replay: use new setHIL API for baro --- Tools/Replay/LR_MsgHandler.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Tools/Replay/LR_MsgHandler.cpp b/Tools/Replay/LR_MsgHandler.cpp index 9b096e02ab..343a42c3dd 100644 --- a/Tools/Replay/LR_MsgHandler.cpp +++ b/Tools/Replay/LR_MsgHandler.cpp @@ -101,7 +101,9 @@ void LR_MsgHandler_BARO::process_message(uint8_t *msg) wait_timestamp_from_msg(msg); baro.setHIL(0, require_field_float(msg, "Press"), - require_field_int16_t(msg, "Temp") * 0.01f); + require_field_int16_t(msg, "Temp") * 0.01f, + require_field_float(msg, "Alt"), + require_field_float(msg, "CRt")); }