mbed library sources, with proposed I2C for Seed Arch BLE - not working -

Dependents:   Seeed_Barometer_Sensor_Example

Fork of mbed-src by mbed official

Files at this revision

API Documentation at this revision

Comitter:
grassel
Date:
Tue Nov 04 18:57:50 2014 +0000
Parent:
384:30d5d1cce2de
Commit message:
working, thanks to the fix provided by Yihui Xiong at https://developer.mbed.org/questions/5107/Arch-BLE-I2C-working/#answer5390

Changed in this revision

targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/i2c_api.c Show annotated file Show diff for this revision Revisions of this file
--- a/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/i2c_api.c	Mon Nov 03 19:37:29 2014 +0000
+++ b/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/i2c_api.c	Tue Nov 04 18:57:50 2014 +0000
@@ -68,6 +68,7 @@
     MBED_ASSERT((int)obj->i2c != NC);
 */
    obj->i2c = (NRF_TWI_Type *) I2C_1; // Added GGr
+   
     obj->scl               = scl;
     obj->sda               = sda;
     obj->i2c->EVENTS_ERROR = 0;