You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
604 B
24 lines
604 B
#include "GCS_Dummy.h" |
|
#include <stdio.h> |
|
|
|
#define FORCE_VERSION_H_INCLUDE |
|
#include <AP_Common/AP_FWVersionDefine.h> |
|
#undef FORCE_VERSION_H_INCLUDE |
|
|
|
const struct GCS_MAVLINK::stream_entries GCS_MAVLINK::all_stream_entries[] {}; |
|
|
|
/* |
|
send_text implementation for dummy GCS |
|
*/ |
|
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) |
|
DEV_PRINTF("TOGCS: "); |
|
hal.console->vprintf(fmt, arg_list); |
|
DEV_PRINTF("\n"); |
|
#else |
|
::printf("TOGCS: "); |
|
::vprintf(fmt, arg_list); |
|
::printf("\n"); |
|
#endif |
|
}
|
|
|