From e0bd2a744034fc3119587169c9cf6b9d2d697a31 Mon Sep 17 00:00:00 2001 From: LM Date: Fri, 7 Oct 2011 19:03:55 +0200 Subject: [PATCH] Removed nasty paper hack --- src/comm/MAVLinkProtocol.cc | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/comm/MAVLinkProtocol.cc b/src/comm/MAVLinkProtocol.cc index f970c493d..3a8a18b56 100644 --- a/src/comm/MAVLinkProtocol.cc +++ b/src/comm/MAVLinkProtocol.cc @@ -201,14 +201,6 @@ void MAVLinkProtocol::receiveBytes(LinkInterface* link, QByteArray b) // If the matching UAS object does not yet exist, it has to be created // before emitting the packetReceived signal - // BIG NASTY HACK - //TODO - //BUG - //BAD - //FIXME - if (message.sysid == 35) - message.sysid = 42; - UASInterface* uas = UASManager::instance()->getUASForId(message.sysid); // Check and (if necessary) create UAS object -- 2.22.0