mirror of https://github.com/ArduPilot/ardupilot
GCS_MAVLink: fixed typo
This commit is contained in:
parent
ac848dc103
commit
af7765c57c
|
@ -126,7 +126,7 @@ more_data:
|
||||||
|
|
||||||
// read any reply data
|
// read any reply data
|
||||||
packet.count = 0;
|
packet.count = 0;
|
||||||
memset(packet.data, 0, sizeof(packet.data))
|
memset(packet.data, 0, sizeof(packet.data));
|
||||||
while (available > 0) {
|
while (available > 0) {
|
||||||
packet.data[packet.count++] = (uint8_t)port->read();
|
packet.data[packet.count++] = (uint8_t)port->read();
|
||||||
available--;
|
available--;
|
||||||
|
|
Loading…
Reference in New Issue