Chris Heald / KL25Z_I2C_busreset

Fork of KL25Z_I2C_busreset by Frank Vannieuwkerke

Revision:
3:7584a206afd4
Parent:
2:a166055977ec
--- 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