Browse Source

Fixed typo

QGC4.4
Lorenz Meier 12 years ago
parent
commit
f162715828
  1. 2
      src/comm/MAVLinkProtocol.cc

2
src/comm/MAVLinkProtocol.cc

@ -184,7 +184,7 @@ void MAVLinkProtocol::linkStatusChanged(bool connected) @@ -184,7 +184,7 @@ void MAVLinkProtocol::linkStatusChanged(bool connected)
// XXX hacky but safe
// Start NSH
const char init[] = {0x0d, 0x0d, 0x0d};
link->writeBytes(init, 1);
link->writeBytes(init, sizeof(init));
QGC::SLEEP::msleep(500);
// Stop any running mavlink instance

Loading…
Cancel
Save