[modules] ifndef LINE_[START|STOP]_FUNCTION default to empty

This commit is contained in:
Felix Ruess
2014-03-10 23:27:09 +01:00
parent 6b4950b91d
commit f0d97e46ca
2 changed files with 13 additions and 0 deletions
+7
View File
@@ -34,6 +34,13 @@
#include "autopilot.h"
#include "generated/flight_plan.h"
#ifndef LINE_START_FUNCTION
#define LINE_START_FUNCTION {}
#endif
#ifndef LINE_STOP_FUNCTION
#define LINE_STOP_FUNCTION {}
#endif
struct Point2D {float x; float y;};
enum FLStatus { FLInitialize, FLCircleS, FLLine, FLFinished };
@@ -35,6 +35,12 @@
#include "modules/digital_cam/dc.h"
#endif
#ifndef LINE_START_FUNCTION
#define LINE_START_FUNCTION {}
#endif
#ifndef LINE_STOP_FUNCTION
#define LINE_STOP_FUNCTION {}
#endif
struct ZamboniSurvey zs;