Browse Source

GCS_MAVLink: fixed typo

mission-4.1.18
Andrew Tridgell 10 years ago
parent
commit
af7765c57c
  1. 2
      libraries/GCS_MAVLink/GCS_serial_control.cpp

2
libraries/GCS_MAVLink/GCS_serial_control.cpp

@ -126,7 +126,7 @@ more_data: @@ -126,7 +126,7 @@ more_data:
// read any reply data
packet.count = 0;
memset(packet.data, 0, sizeof(packet.data))
memset(packet.data, 0, sizeof(packet.data));
while (available > 0) {
packet.data[packet.count++] = (uint8_t)port->read();
available--;

Loading…
Cancel
Save