ch1 test1

Dependencies:   MAX14690

Revision:
11:e821831283e2
Parent:
5:8e424775234a
--- 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);
 }