mirror of https://github.com/ArduPilot/ardupilot
GCS_MAVLink: Console output can be disabled
This commit is contained in:
parent
d478a40edc
commit
970af16251
|
@ -13,9 +13,9 @@ const struct GCS_MAVLINK::stream_entries GCS_MAVLINK::all_stream_entries[] {};
|
|||
void GCS_Dummy::send_textv(MAV_SEVERITY severity, const char *fmt, va_list arg_list, uint8_t dest_bitmask)
|
||||
{
|
||||
#if !APM_BUILD_TYPE(APM_BUILD_Replay)
|
||||
hal.console->printf("TOGCS: ");
|
||||
DEV_PRINTF("TOGCS: ");
|
||||
hal.console->vprintf(fmt, arg_list);
|
||||
hal.console->printf("\n");
|
||||
DEV_PRINTF("\n");
|
||||
#else
|
||||
::printf("TOGCS: ");
|
||||
::vprintf(fmt, arg_list);
|
||||
|
|
|
@ -134,7 +134,7 @@ void GCS_MAVLINK::load_signing_key(void)
|
|||
}
|
||||
mavlink_status_t *status = mavlink_get_channel_status(chan);
|
||||
if (status == nullptr) {
|
||||
hal.console->printf("Failed to load signing key - no status");
|
||||
DEV_PRINTF("Failed to load signing key - no status");
|
||||
return;
|
||||
}
|
||||
memcpy(signing.secret_key, key.secret_key, 32);
|
||||
|
|
Loading…
Reference in New Issue