mavlink: no need to shout about disabling hardware flow control

This commit is contained in:
Ban Siesta 2015-05-25 18:28:27 +01:00 committed by Lorenz Meier
parent 321e1c1f7b
commit 43d22619f6
1 changed files with 3 additions and 3 deletions

View File

@ -746,7 +746,7 @@ Mavlink::get_free_tx_buf()
if (_last_write_try_time != 0 && if (_last_write_try_time != 0 &&
hrt_elapsed_time(&_last_write_success_time) > 500 * 1000UL && hrt_elapsed_time(&_last_write_success_time) > 500 * 1000UL &&
_last_write_success_time != _last_write_try_time) { _last_write_success_time != _last_write_try_time) {
warnx("DISABLING HARDWARE FLOW CONTROL"); warnx("Disabling hardware flow control");
enable_flow_control(false); enable_flow_control(false);
} }
} }
@ -877,7 +877,7 @@ Mavlink::handle_message(const mavlink_message_t *msg)
/* handle packet with parameter component */ /* handle packet with parameter component */
_parameters_manager->handle_message(msg); _parameters_manager->handle_message(msg);
/* handle packet with ftp component */ /* handle packet with ftp component */
_mavlink_ftp->handle_message(msg); _mavlink_ftp->handle_message(msg);
@ -1421,7 +1421,7 @@ Mavlink::task_main(int argc, char *argv[])
_mavlink_ftp = (MavlinkFTP *) MavlinkFTP::new_instance(this); _mavlink_ftp = (MavlinkFTP *) MavlinkFTP::new_instance(this);
_mavlink_ftp->set_interval(interval_from_rate(80.0f)); _mavlink_ftp->set_interval(interval_from_rate(80.0f));
LL_APPEND(_streams, _mavlink_ftp); LL_APPEND(_streams, _mavlink_ftp);
/* MISSION_STREAM stream, actually sends all MISSION_XXX messages at some rate depending on /* MISSION_STREAM stream, actually sends all MISSION_XXX messages at some rate depending on
* remote requests rate. Rate specified here controls how much bandwidth we will reserve for * remote requests rate. Rate specified here controls how much bandwidth we will reserve for
* mission messages. */ * mission messages. */