Skip to content

Commit

Permalink
moved telemetry include to top
Browse files Browse the repository at this point in the history
  • Loading branch information
coppolam authored and podhrmic committed Nov 4, 2017
1 parent 868e126 commit 4e2554a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sw/airborne/subsystems/ins/hf_float.c
Expand Up @@ -35,6 +35,10 @@
#include "filters/low_pass_filter.h"
#include "generated/airframe.h"

#if PERIODIC_TELEMETRY
#include "subsystems/datalink/telemetry.h"
#endif

#ifdef SITL
#include <stdio.h>
#define DBG_LEVEL 1
Expand Down Expand Up @@ -226,7 +230,6 @@ static void hff_update_xdot(struct HfilterFloat *filt, float vel, float Rvel);
static void hff_update_ydot(struct HfilterFloat *filt, float vel, float Rvel);

#if PERIODIC_TELEMETRY
#include "subsystems/datalink/telemetry.h"

static void send_hff(struct transport_tx *trans, struct link_device *dev)
{
Expand Down

0 comments on commit 4e2554a

Please sign in to comment.