Copter: remove some commented out send_text code

This commit is contained in:
Randy Mackay 2013-10-30 13:44:56 +09:00
parent 8a6c2a6588
commit 65980ace68
2 changed files with 0 additions and 14 deletions

View File

@ -1304,8 +1304,6 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
*/ */
case MAVLINK_MSG_ID_MISSION_REQUEST_LIST: //43 case MAVLINK_MSG_ID_MISSION_REQUEST_LIST: //43
{ {
//send_text_P(SEVERITY_LOW,PSTR("waypoint request list"));
// decode // decode
mavlink_mission_request_list_t packet; mavlink_mission_request_list_t packet;
mavlink_msg_mission_request_list_decode(msg, &packet); mavlink_msg_mission_request_list_decode(msg, &packet);
@ -1329,8 +1327,6 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
// XXX read a WP from EEPROM and send it to the GCS // XXX read a WP from EEPROM and send it to the GCS
case MAVLINK_MSG_ID_MISSION_REQUEST: // 40 case MAVLINK_MSG_ID_MISSION_REQUEST: // 40
{ {
//send_text_P(SEVERITY_LOW,PSTR("waypoint request"));
// Check if sending waypiont // Check if sending waypiont
//if (!waypoint_sending) break; //if (!waypoint_sending) break;
// 5/10/11 - We are trying out relaxing the requirement that we be in waypoint sending mode to respond to a waypoint request. DEW // 5/10/11 - We are trying out relaxing the requirement that we be in waypoint sending mode to respond to a waypoint request. DEW
@ -1460,8 +1456,6 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
case MAVLINK_MSG_ID_MISSION_ACK: //47 case MAVLINK_MSG_ID_MISSION_ACK: //47
{ {
//send_text_P(SEVERITY_LOW,PSTR("waypoint ack"));
// decode // decode
mavlink_mission_ack_t packet; mavlink_mission_ack_t packet;
mavlink_msg_mission_ack_decode(msg, &packet); mavlink_msg_mission_ack_decode(msg, &packet);
@ -1530,8 +1524,6 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
case MAVLINK_MSG_ID_MISSION_CLEAR_ALL: // 45 case MAVLINK_MSG_ID_MISSION_CLEAR_ALL: // 45
{ {
//send_text_P(SEVERITY_LOW,PSTR("waypoint clear all"));
// decode // decode
mavlink_mission_clear_all_t packet; mavlink_mission_clear_all_t packet;
mavlink_msg_mission_clear_all_decode(msg, &packet); mavlink_msg_mission_clear_all_decode(msg, &packet);
@ -1550,8 +1542,6 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
case MAVLINK_MSG_ID_MISSION_SET_CURRENT: // 41 case MAVLINK_MSG_ID_MISSION_SET_CURRENT: // 41
{ {
//send_text_P(SEVERITY_LOW,PSTR("waypoint set current"));
// decode // decode
mavlink_mission_set_current_t packet; mavlink_mission_set_current_t packet;
mavlink_msg_mission_set_current_decode(msg, &packet); mavlink_msg_mission_set_current_decode(msg, &packet);
@ -1566,8 +1556,6 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
case MAVLINK_MSG_ID_MISSION_COUNT: // 44 case MAVLINK_MSG_ID_MISSION_COUNT: // 44
{ {
//send_text_P(SEVERITY_LOW,PSTR("waypoint count"));
// decode // decode
mavlink_mission_count_t packet; mavlink_mission_count_t packet;
mavlink_msg_mission_count_decode(msg, &packet); mavlink_msg_mission_count_decode(msg, &packet);

View File

@ -178,7 +178,6 @@ static bool verify_nav_command()
break; break;
default: default:
//gcs_send_text_P(SEVERITY_HIGH,PSTR("<verify_must: default> No current Must commands"));
return false; return false;
break; break;
} }
@ -207,7 +206,6 @@ static bool verify_cond_command()
break; break;
default: default:
//gcs_send_text_P(SEVERITY_HIGH,PSTR("<verify_must: default> No current May commands"));
return false; return false;
break; break;
} }