diff --git a/conf/firmwares/subsystems/shared/gps_piksi.makefile b/conf/firmwares/subsystems/shared/gps_piksi.makefile index d17a135bee..87f063cf8a 100644 --- a/conf/firmwares/subsystems/shared/gps_piksi.makefile +++ b/conf/firmwares/subsystems/shared/gps_piksi.makefile @@ -8,7 +8,7 @@ GPS_PORT_LOWER=$(shell echo $(GPS_PORT) | tr A-Z a-z) ap.CFLAGS += -DUSE_GPS ap.CFLAGS += -DUSE_$(GPS_PORT) -D$(GPS_PORT)_BAUD=B115200 -ap.CFLAGS += -DGPS_LINK=$(GPS_PORT_LOWER) +ap.CFLAGS += -DPIKSI_GPS_LINK=$(GPS_PORT_LOWER) ifneq ($(GPS_LED),none) ap.CFLAGS += -DGPS_LED=$(GPS_LED)