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
Diff: vendor/NXP/LPC1768/hal/i2c_api.c
- Revision:
- 11:f9e72c209510
- Parent:
- 10:3bc89ef62ce7
--- a/vendor/NXP/LPC1768/hal/i2c_api.c Fri Jun 14 17:49:17 2013 +0100
+++ b/vendor/NXP/LPC1768/hal/i2c_api.c Sun Jun 30 16:34:50 2013 +0000
@@ -266,7 +266,9 @@
}
}
- i2c_clear_SI(obj);
+ // clearing the serial interrupt here might cause an unintended rewrite of the last byte
+ // see also issue report https://mbed.org/users/mbed_official/code/mbed/issues/1
+ // i2c_clear_SI(obj);
// If not repeated start, send stop.
if (stop) {
