max32630fthr library changed to pointer
Fork of max32630fthr by
Revision 11:e821831283e2, committed 2017-10-16
- Comitter:
- switches
- Date:
- Mon Oct 16 19:43:24 2017 +0000
- Parent:
- 10:02d6b69121e5
- Commit message:
- Changed I2C to pointer
Changed in this revision
MAX14690.lib | Show annotated file Show diff for this revision Revisions of this file |
max32630fthr.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 02d6b69121e5 -r e821831283e2 MAX14690.lib --- a/MAX14690.lib Tue Jul 11 19:44:41 2017 +0000 +++ b/MAX14690.lib Mon Oct 16 19:43:24 2017 +0000 @@ -1,1 +1,1 @@ -https://developer.mbed.org/teams/MaximIntegrated/code/MAX14690/#cbd2a00ff28f +https://os.mbed.com/users/switches/code/MAX14690_ptr/#264f38840873
diff -r 02d6b69121e5 -r e821831283e2 max32630fthr.cpp --- a/max32630fthr.cpp Tue Jul 11 19:44:41 2017 +0000 +++ b/max32630fthr.cpp Mon Oct 16 19:43:24 2017 +0000 @@ -38,12 +38,12 @@ #include "max32630fthr.h" //****************************************************************************** -MAX32630FTHR::MAX32630FTHR() : i2c(P5_7, P6_0), max14690(i2c) +MAX32630FTHR::MAX32630FTHR() : i2c(P5_7, P6_0), max14690(&i2c) { } //****************************************************************************** -MAX32630FTHR::MAX32630FTHR(vio_t vio) : i2c(P5_7, P6_0), max14690(i2c) +MAX32630FTHR::MAX32630FTHR(vio_t vio) : i2c(P5_7, P6_0), max14690(&i2c) { init(vio); }