LTC2945 ported

Dependencies:   mbed

Revision:
4:d32eaca53504
Parent:
0:6be57f391716
--- a/LTC2945.h	Fri Aug 25 14:42:14 2017 +0000
+++ b/LTC2945.h	Wed Sep 20 09:03:56 2017 +0000
@@ -367,10 +367,6 @@
 #define LTC2945_DISABLE_MIN_ADIN_ALERT          0xFE
 //! @}
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 //! Write an 8-bit code to the LTC2945.
 //! @return The function returns the state of the acknowledge bit after the I2C address write. 0=acknowledge, 1=no acknowledge.
 int8_t LTC2945_write(uint8_t i2c_address, //!< Register address for the LTC2945
@@ -443,8 +439,4 @@
                                  float LTC2945_ADIN_DELTA_SENSE_lsb     //!< Power lsb weight
                                 );
 
-#ifdef __cplusplus
-}
-#endif
-
 #endif  // LTC2945_H