Browse Source

SITL: Fix multi #include's

gps-1.3.1
Jaaaky 3 years ago committed by Andrew Tridgell
parent
commit
71154105e4
  1. 4
      libraries/SITL/SIM_FETtecOneWireESC.h

4
libraries/SITL/SIM_FETtecOneWireESC.h

@ -39,15 +39,15 @@ param fetch @@ -39,15 +39,15 @@ param fetch
#include "SIM_SerialDevice.h"
#include <stdio.h>
#define SIM_FTW_DEBUGGING 0
#if SIM_FTW_DEBUGGING
#include <stdio.h>
#define simfet_debug(fmt, args ...) do {::fprintf(stderr,"SIMFET: %s:%d: " fmt "\n", __FUNCTION__, __LINE__, ## args); } while(0)
#else
#define simfet_debug(fmt, args ...)
#endif
#include <stdio.h>
namespace SITL {

Loading…
Cancel
Save