Copter: fixed build error

thanks to Marco for pointing this out
This commit is contained in:
Andrew Tridgell 2012-11-24 20:39:35 +11:00
parent f6ec932d63
commit 5818aaad42
2 changed files with 2 additions and 1 deletions

View File

@ -58,6 +58,7 @@
#include <avr/io.h>
#include <avr/eeprom.h>
#include <avr/pgmspace.h>
#include <avr/wdt.h>
#include <math.h>
// Libraries

View File

@ -1060,7 +1060,7 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
mavlink_msg_command_long_decode(msg, &packet);
if (mavlink_check_target(packet.target_system, packet.target_component)) break;
uint8_t result;
uint8_t result = MAV_RESULT_UNSUPPORTED;
// do command
send_text(SEVERITY_LOW,PSTR("command received: "));