GCS_MAVLink: fixed typo

This commit is contained in:
Andrew Tridgell 2015-03-07 13:54:58 +11:00
parent ac848dc103
commit af7765c57c
1 changed files with 1 additions and 1 deletions

View File

@ -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--;