diff --git a/examples/gps/Makefile b/examples/gps/Makefile index efac4f0ba..e39d4be8e 100644 --- a/examples/gps/Makefile +++ b/examples/gps/Makefile @@ -28,7 +28,7 @@ STACKSIZE = $(CONFIG_EXAMPLES_GPS_STACKSIZE) MODULE = $(CONFIG_EXAMPLES_GPS) # GPS Example - +CFLAGS += -I$(APPDIR)$(DELIM)gpsutils$(DELIM)minmea MAINSRC = gps_main.c include $(APPDIR)/Application.mk diff --git a/examples/gps/gps_main.c b/examples/gps/gps_main.c index 5db2f1189..9a76ba41a 100644 --- a/examples/gps/gps_main.c +++ b/examples/gps/gps_main.c @@ -1,5 +1,5 @@ /**************************************************************************** - * apps/examples/hello/gps_main.c + * apps/examples/gps/gps_main.c * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with @@ -29,7 +29,13 @@ #include #include -#include "gpsutils/minmea.h" +#include "minmea/minmea.h" + +/**************************************************************************** + * Pre-processor Definitions + ****************************************************************************/ + +#define MINMEA_MAX_LENGTH 256 /**************************************************************************** * Public Functions