LTC2945 ported

Dependencies:   mbed

Revision:
4:d32eaca53504
Parent:
3:2ab78e7e8518
--- a/LT_I2C.cpp	Fri Aug 25 14:42:14 2017 +0000
+++ b/LT_I2C.cpp	Wed Sep 20 09:03:56 2017 +0000
@@ -6,8 +6,6 @@
 
 I2C *i2c_object = NULL;
 
-extern "C" {
-
 int lt_i2c_init(int sda, int scl) {
     if (i2c_object == NULL) {
         i2c_object = new I2C((PinName) sda, (PinName) scl);
@@ -253,5 +251,3 @@
     lt_i2c_stop(); //I2C STOP    
     return (0); // Success!
 }
-
-}