From 0fd0e5ab403930057b421dc29d4ff860dc5703ef Mon Sep 17 00:00:00 2001
From: "Paul A. Patience" <paul-a.patience@polymtl.ca>
Date: Tue, 5 Jul 2016 08:52:00 -0400
Subject: [PATCH] apps/canutils/libcanard: Update version

---
 canutils/libcanard/Kconfig  | 2 +-
 canutils/libcanard/Makefile | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/canutils/libcanard/Kconfig b/canutils/libcanard/Kconfig
index 1b61d4ad9..aec812525 100644
--- a/canutils/libcanard/Kconfig
+++ b/canutils/libcanard/Kconfig
@@ -20,7 +20,7 @@ config LIBCANARD_URL
 
 config LIBCANARD_VERSION
 	string "libcanard Version"
-	default "a7a6d4c6b105976cccac36e05c42abee566b70c4"
+	default "b28bf6ac337e55d49037fd9904d4b951760c4690"
 	---help---
 		libcanard version.
 
diff --git a/canutils/libcanard/Makefile b/canutils/libcanard/Makefile
index a19dd99e5..b21a57e28 100644
--- a/canutils/libcanard/Makefile
+++ b/canutils/libcanard/Makefile
@@ -49,9 +49,9 @@ LIBCANARD_DRVDIR = $(LIBCANARD_SRCDIR)$(DELIM)drivers$(DELIM)nuttx
 
 APPS_INCDIR = $(APPDIR)$(DELIM)include$(DELIM)canutils
 
-CFLAGS += -I$(APPS_INCDIR)
+CFLAGS += -std=c99 -I$(APPS_INCDIR)
 
-CSRCS = $(LIBCANARD_SRCDIR)$(DELIM)canard.c $(LIBCANARD_DRVDIR)$(DELIM)nuttx.c
+CSRCS = $(LIBCANARD_SRCDIR)$(DELIM)canard.c $(LIBCANARD_DRVDIR)$(DELIM)canard_nuttx.c
 COBJS = $(CSRCS:.c=$(OBJEXT))
 
 SRCS = $(CSRCS)