Browse Source

Removed nasty paper hack

QGC4.4
LM 14 years ago
parent
commit
e0bd2a7440
  1. 8
      src/comm/MAVLinkProtocol.cc

8
src/comm/MAVLinkProtocol.cc

@ -201,14 +201,6 @@ void MAVLinkProtocol::receiveBytes(LinkInterface* link, QByteArray b) @@ -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

Loading…
Cancel
Save