Commit 4aec6810 authored by Bryan Godbolt's avatar Bryan Godbolt

updated define macro for ualberta messages

parent 1dd74429
...@@ -252,7 +252,7 @@ void RadioCalibrationWindow::parseSetpoint(const QDomElement &setpoint, const QP ...@@ -252,7 +252,7 @@ void RadioCalibrationWindow::parseSetpoint(const QDomElement &setpoint, const QP
void RadioCalibrationWindow::send() void RadioCalibrationWindow::send()
{ {
qDebug() << __FILE__ << __LINE__ << "uasId = " << uasId; qDebug() << __FILE__ << __LINE__ << "uasId = " << uasId;
#ifdef MAVLINK_ENABLED_UALBERTA_MESSAGES #ifdef MAVLINK_ENABLED_UALBERTA
UAS *uas = dynamic_cast<UAS*>(UASManager::instance()->getUASForId(uasId)); UAS *uas = dynamic_cast<UAS*>(UASManager::instance()->getUASForId(uasId));
if (uas) { if (uas) {
mavlink_message_t msg; mavlink_message_t msg;
......
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