Do not write home from GS,

MAV_Action_Continue disabled until I find out what it does and how to do it.
This commit is contained in:
Jason Short 2011-11-16 00:19:04 -08:00
parent 2c542a0b69
commit b746556933
1 changed files with 4 additions and 3 deletions

View File

@ -810,7 +810,7 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
*/
case MAV_ACTION_CONTINUE:
process_next_command();
//process_command_queue();
result=1;
break;
@ -1315,13 +1315,14 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
if (!waypoint_receiving) break;
Serial.printf("req: %d, seq: %d, total: %d\n", waypoint_request_i,packet.seq, g.command_total.get());
//Serial.printf("req: %d, seq: %d, total: %d\n", waypoint_request_i,packet.seq, g.command_total.get());
// check if this is the requested waypoint
if (packet.seq != waypoint_request_i)
break;
set_command_with_index(tell_command, packet.seq);
if(packet.seq != 0)
set_command_with_index(tell_command, packet.seq);
// update waypoint receiving state machine
waypoint_timelast_receive = millis();