MAX14690 library

Fork of MAX14690 by Maxim Integrated

Files at this revision

API Documentation at this revision

Comitter:
j3
Date:
Tue Jul 11 18:27:54 2017 +0000
Parent:
13:666b6c505289
Child:
15:264f38840873
Commit message:
Made _i2c private var a reference to comply with NonCopyable class from mbed lib.; https://github.com/ARMmbed/mbed-os/blob/master/platform/NonCopyable.h

Changed in this revision

MAX14690.h Show annotated file Show diff for this revision Revisions of this file
--- a/MAX14690.h	Fri Dec 16 00:56:48 2016 +0000
+++ b/MAX14690.h	Tue Jul 11 18:27:54 2017 +0000
@@ -552,7 +552,7 @@
 
 private:
     // Internal Resources
-    I2C _i2c;
+    I2C &_i2c;
 
     /**
      * @brief   Converts mV to register bits