Commit f1627158 authored by Lorenz Meier's avatar Lorenz Meier

Fixed typo

parent e784c17e
......@@ -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
......
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