Skip to content

Commit

Permalink
GCS_MAVLink: prevent all_stream_entries duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed May 19, 2024
1 parent 6cc9e24 commit bdfe1f0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libraries/GCS_MAVLink/GCS_Dummy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,17 @@
#include "GCS_Dummy.h"

#include <stdio.h>
#include <AP_Vehicle/AP_Vehicle_Type.h>

#if APM_BUILD_TYPE(APM_BUILD_UNKNOWN)

#define FORCE_VERSION_H_INCLUDE
#include <AP_Common/AP_FWVersionDefine.h>
#include <AP_CheckFirmware/AP_CheckFirmwareDefine.h>
#undef FORCE_VERSION_H_INCLUDE

const struct GCS_MAVLINK::stream_entries GCS_MAVLINK::all_stream_entries[] {};
#endif

/*
send_text implementation for dummy GCS
Expand Down

0 comments on commit bdfe1f0

Please sign in to comment.