From ce8cde82221e0d32aa9df275b5f6a815aa5099c5 Mon Sep 17 00:00:00 2001 From: Bryant Mairs Date: Wed, 22 Feb 2012 08:08:54 -0800 Subject: [PATCH] Fixed error (in VS2010) about lacking a return value introduced in 6a55b6cd4903cf6c2dc02f07f5a684df405770e7. --- src/ui/mavlink/QGCMAVLinkMessageSender.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/mavlink/QGCMAVLinkMessageSender.cc b/src/ui/mavlink/QGCMAVLinkMessageSender.cc index 82b8d14a6..a0c1fcec9 100644 --- a/src/ui/mavlink/QGCMAVLinkMessageSender.cc +++ b/src/ui/mavlink/QGCMAVLinkMessageSender.cc @@ -39,7 +39,7 @@ void QGCMAVLinkMessageSender::refresh() bool QGCMAVLinkMessageSender::sendMessage() { - sendMessage(ui->messageIdSpinBox->value()); + return sendMessage(ui->messageIdSpinBox->value()); } bool QGCMAVLinkMessageSender::sendMessage(unsigned int msgid) -- 2.22.0