summaryrefslogtreecommitdiffstatshomepage
path: root/cc3200/mods/pybi2c.h
diff options
context:
space:
mode:
authordanicampora <danicampora@gmail.com>2015-03-11 21:49:50 +0100
committerdanicampora <danicampora@gmail.com>2015-03-11 22:09:52 +0100
commitb761ed21035b2cfd5f7704f4d04f4df1e2452967 (patch)
tree6d44e1086e1f92d513a0e8bfe4604f6e0da5ef68 /cc3200/mods/pybi2c.h
parentdb0580d0a5cb8caa0b3f3a0e86879ddb1a9260ff (diff)
downloadmicropython-b761ed21035b2cfd5f7704f4d04f4df1e2452967.tar.gz
micropython-b761ed21035b2cfd5f7704f4d04f4df1e2452967.zip
cc3200: Register ADC and I2C with the sleep module.
Diffstat (limited to 'cc3200/mods/pybi2c.h')
-rw-r--r--cc3200/mods/pybi2c.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/cc3200/mods/pybi2c.h b/cc3200/mods/pybi2c.h
index 5f2acaca07..7adffb2d99 100644
--- a/cc3200/mods/pybi2c.h
+++ b/cc3200/mods/pybi2c.h
@@ -25,7 +25,9 @@
* THE SOFTWARE.
*/
+#ifndef PYBI2C_H_
+#define PYBI2C_H_
+
extern const mp_obj_type_t pyb_i2c_type;
-void i2c_init (uint mode, uint slvaddr, uint baudrate);
-void i2c_deinit(void);
+#endif // PYBI2C_H_