aboutsummaryrefslogtreecommitdiffstats
path: root/src/gmisc
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2013-07-16 15:29:59 +1000
committerinmarket <andrewh@inmarket.com.au>2013-07-16 15:29:59 +1000
commit6fe793da88379373c6d5e73b3b80512a9fa3e9e1 (patch)
treee5f24b24cab66fee2f866775c1113abc5f439a0b /src/gmisc
parent83897ac07a2e82eaf9a4950ff995c87676a584b0 (diff)
downloaduGFX-6fe793da88379373c6d5e73b3b80512a9fa3e9e1.tar.gz
uGFX-6fe793da88379373c6d5e73b3b80512a9fa3e9e1.tar.bz2
uGFX-6fe793da88379373c6d5e73b3b80512a9fa3e9e1.zip
Fix missing init function for GMISC
Diffstat (limited to 'src/gmisc')
-rw-r--r--src/gmisc/gmisc.c20
-rw-r--r--src/gmisc/gmisc.mk3
2 files changed, 22 insertions, 1 deletions
diff --git a/src/gmisc/gmisc.c b/src/gmisc/gmisc.c
new file mode 100644
index 00000000..9573d3a0
--- /dev/null
+++ b/src/gmisc/gmisc.c
@@ -0,0 +1,20 @@
+/*
+ * This file is subject to the terms of the GFX License. If a copy of
+ * the license was not distributed with this file, you can obtain one at:
+ *
+ * http://chibios-gfx.com/license.html
+ */
+
+/**
+ * @file src/gmisc/gmisc.c
+ * @brief GMISC Functions.
+ *
+ */
+#include "gfx.h"
+
+#if GFX_USE_GMISC
+
+void _gmiscInit(void) {
+}
+
+#endif /* GFX_USE_GMISC */
diff --git a/src/gmisc/gmisc.mk b/src/gmisc/gmisc.mk
index a4ec787e..73280699 100644
--- a/src/gmisc/gmisc.mk
+++ b/src/gmisc/gmisc.mk
@@ -1,2 +1,3 @@
-GFXSRC += $(GFXLIB)/src/gmisc/arrayops.c \
+GFXSRC += $(GFXLIB)/src/gmisc/gmisc.c \
+ $(GFXLIB)/src/gmisc/arrayops.c \
$(GFXLIB)/src/gmisc/trig.c