Browse Source

Replay: fixed baro.setHIL call

mission-4.1.18
Andrew Tridgell 10 years ago
parent
commit
231b44fc83
  1. 2
      Tools/Replay/LogReader.cpp

2
Tools/Replay/LogReader.cpp

@ -500,7 +500,7 @@ bool LogReader::update(uint8_t &type) @@ -500,7 +500,7 @@ bool LogReader::update(uint8_t &type)
exit(1);
}
wait_timestamp(msg.timestamp);
baro.setHIL(msg.pressure, msg.temperature*0.01f);
baro.setHIL(0, msg.pressure, msg.temperature*0.01f);
dataflash.Log_Write_Baro(baro);
break;
}

Loading…
Cancel
Save