diff options
| author | Damien George | 2014-03-25 23:26:14 +0000 |
|---|---|---|
| committer | Damien George | 2014-03-25 23:26:14 +0000 |
| commit | 6cfda3084dfef44892e85b1c658f0ad9b0643641 (patch) | |
| tree | cfa5ae14032249d4982cd00e17b9e47df3025fbd /stmhal/main.c | |
| parent | 681d0a9ca7acd96a25b41768f98c49e21846074d (diff) | |
stmhal: Add I2C support; change accel driver to use new I2C.
Diffstat (limited to 'stmhal/main.c')
| -rw-r--r-- | stmhal/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/stmhal/main.c b/stmhal/main.c index ab96dcdef..e80841ea9 100644 --- a/stmhal/main.c +++ b/stmhal/main.c @@ -32,6 +32,7 @@ #include "sdcard.h" #include "ff.h" #include "lcd.h" +#include "i2c.h" #include "accel.h" #include "servo.h" #include "dac.h" @@ -375,6 +376,8 @@ soft_reset: pyb_usb_dev_init(USBD_DEVICE_CDC_MSC, usbd_medium_kind); #endif + i2c_init(); + #if MICROPY_HW_HAS_MMA7660 // MMA accel: init and reset accel_init(); |
