aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-06-06 16:01:01 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-06-06 16:01:01 -0400
commit402e966c7c47087adbe327781bbb6f648923137c (patch)
treeada1938dec0dd286cd7816069d28e2ecf9dd32d9 /libmaple
parentda25f5c45e3b1c046462b480f01ae1e1598941bd (diff)
downloadlibrambutan-402e966c7c47087adbe327781bbb6f648923137c.tar.gz
librambutan-402e966c7c47087adbe327781bbb6f648923137c.zip
i2c.h: Add missing includes.
The missing includes are a bug in general, and prevent usage of i2c.h from within Maple IDE in particular.
Diffstat (limited to 'libmaple')
-rw-r--r--libmaple/i2c.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libmaple/i2c.h b/libmaple/i2c.h
index 024bc75..616b993 100644
--- a/libmaple/i2c.h
+++ b/libmaple/i2c.h
@@ -29,6 +29,11 @@
* @brief Inter-Integrated Circuit (I2C) peripheral support
*/
+#include "libmaple_types.h"
+#include "rcc.h"
+#include "nvic.h"
+#include "gpio.h"
+
#ifndef _I2C_H_
#define _I2C_H_