diff --git a/conf/autopilot/subsystems/fixedwing/autopilot.makefile b/conf/autopilot/subsystems/fixedwing/autopilot.makefile index c070c25452..d63af15830 100644 --- a/conf/autopilot/subsystems/fixedwing/autopilot.makefile +++ b/conf/autopilot/subsystems/fixedwing/autopilot.makefile @@ -120,7 +120,7 @@ ns_srcs += $(SRC_FIRMWARE)/main.c # ns_CFLAGS += -DUSE_LED ifneq ($(SYS_TIME_LED),none) - ns_CFLAGS += -DSYS_TIME_LED=1 + ns_CFLAGS += -DSYS_TIME_LED=$(SYS_TIME_LED) endif #