added DOWNLINK to Twin2 - Seems that we cannot have an AC without downlink - Do we realZly want that ?

This commit is contained in:
Antoine Drouin
2006-05-25 18:27:32 +00:00
parent a2634a0ae2
commit aa18b07d12
4 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ Q=@
CFLAGS = \ CFLAGS = \
-Werror -W -Wall -Wundef \ -W -Wall -Wundef \
$(ATMEL_INCLUDES) \ $(ATMEL_INCLUDES) \
$(INCLUDES) \ $(INCLUDES) \
-Wstrict-prototypes \ -Wstrict-prototypes \
+1 -1
View File
@@ -45,7 +45,7 @@ Q=@
CFLAGS = \ CFLAGS = \
-W -Wall -Werror \ -W -Wall \
$(INCLUDES) \ $(INCLUDES) \
-Wstrict-prototypes \ -Wstrict-prototypes \
$($(TARGET).CFLAGS) \ $($(TARGET).CFLAGS) \
+3
View File
@@ -123,6 +123,9 @@ ap.CFLAGS += -DMOBILE_CAM -DDATALINK
ap.EXTRA_SRCS += traffic_info.c datalink.c ap.EXTRA_SRCS += traffic_info.c datalink.c
ap.CFLAGS += -DUSE_UART0 -DHITL ap.CFLAGS += -DUSE_UART0 -DHITL
-DDOWNLINK -DDOWNLINK_TRANSPORT=PprzTransport -DDOWNLINK_AP_DEVICE=Uart0
ap.EXTRA_SRCS += pprz_transport.c downlink.c
# Config for SITL simulation # Config for SITL simulation
include $(PAPARAZZI_SRC)/conf/autopilot/sitl.makefile include $(PAPARAZZI_SRC)/conf/autopilot/sitl.makefile
sim.CFLAGS += -DDATALINK -DMOBILE_CAM sim.CFLAGS += -DDATALINK -DMOBILE_CAM
+1 -1
View File
@@ -35,7 +35,7 @@
#include "messages.h" #include "messages.h"
#include "periodic.h" #include "periodic.h"
#if DOWNLINK #if defined DOWNLINK
#define Downlink(x) x #define Downlink(x) x
#else #else
#define Downlink(x) {} #define Downlink(x) {}