mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Replay: use new setHIL API for baro
This commit is contained in:
parent
0b71652afc
commit
d116071054
@ -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"));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user