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.
Fork of KL25Z_I2C_busreset by
Diff: I2C_busreset.cpp
- Revision:
- 3:7584a206afd4
- Parent:
- 2:a166055977ec
diff -r a166055977ec -r 7584a206afd4 I2C_busreset.cpp
--- a/I2C_busreset.cpp Tue Feb 24 17:49:59 2015 +0000
+++ b/I2C_busreset.cpp Tue Jun 14 17:06:54 2016 +0000
@@ -6,6 +6,7 @@
***** Func: library for unblocking I2C bus on KL25Z board *****
***** Info: MPL3115A2-AN4481 *****
**************************************************************************************************/
+#ifdef KL25Z
#include "I2C_busreset.h"
@@ -85,3 +86,4 @@
I2C0->C1 |= 0x80; // Enable I2C0 bus
}
}
+#endif
\ No newline at end of file
