Replay: use new setHIL API for baro

This commit is contained in:
Andrew Tridgell 2016-05-05 10:10:24 +10:00
parent 0b71652afc
commit d116071054

View File

@ -101,7 +101,9 @@ void LR_MsgHandler_BARO::process_message(uint8_t *msg)
wait_timestamp_from_msg(msg); wait_timestamp_from_msg(msg);
baro.setHIL(0, baro.setHIL(0,
require_field_float(msg, "Press"), 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"));
} }