Commit 076cef43 authored by lm's avatar lm

Fixed minor bug in UAS

parent 4406f5c5
......@@ -240,7 +240,7 @@ void UAS::receiveMessage(LinkInterface* link, mavlink_message_t message)
case MAVLINK_MSG_ID_RAW_SENSOR:
{
raw_sensor_t raw;
message_raw_imu_decode(&message, &raw);
message_raw_sensor_decode(&message, &raw);
quint64 time = raw.msec;
if (time == 0)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment