mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-01 04:46:51 +08:00
[modules] ifndef LINE_[START|STOP]_FUNCTION default to empty
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user