Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Seeed_Barometer_Sensor_Example
Fork of mbed-src by
Revision 385:29cfbec5cd8b, committed 2014-11-04
- 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;