Commit 8fb943eb authored by lm's avatar lm

Fixed temp and baro mixup

parent 076cef43
......@@ -73,7 +73,7 @@ macx {
DESTDIR = $$BASEDIR/bin/mac
INCLUDEPATH += -framework SDL \
$$BASEDIR/../mavlink/src
$$BASEDIR/../mavlink/include
LIBS += -framework IOKit \
-framework SDL \
......
......@@ -30,9 +30,9 @@ DEPENDPATH += . \
lib/QMapControl/src
INCLUDEPATH += . \
lib/QMapControl \
../mavlink/src \
MAVLink/src \
mavlink/src
../mavlink/include \
MAVLink/include \
mavlink/include
# Input
FORMS += src/ui/MainWindow.ui \
......
......@@ -265,7 +265,7 @@ void UAS::receiveMessage(LinkInterface* link, mavlink_message_t message)
emit valueChanged(uasId, "Mag. Y", raw.ymag, time);
emit valueChanged(uasId, "Mag. Z", raw.zmag, time);
emit valueChanged(uasId, "Pressure", raw.baro, time);
emit valueChanged(uasId, "Temperature", raw.baro, time);
emit valueChanged(uasId, "Temperature", raw.temp, time);
}
break;
case MAVLINK_MSG_ID_ATTITUDE:
......
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