Replay: fixed baro.setHIL call

This commit is contained in:
Andrew Tridgell 2015-01-06 08:37:07 +11:00
parent 5133799e23
commit 231b44fc83
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}