Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: max32630fthr.cpp
- Revision:
- 3:09e3dbb49561
- Parent:
- 1:15e34492fbf1
- Child:
- 5:8e424775234a
--- a/max32630fthr.cpp Sun Nov 20 23:41:01 2016 +0000
+++ b/max32630fthr.cpp Tue Dec 13 21:28:57 2016 +0000
@@ -38,9 +38,8 @@
#include "max32630fthr.h"
//******************************************************************************
-MAX32630FTHR::MAX32630FTHR(vio_t vio) : i2c(P5_7, P6_0), max14690(&i2c)
+MAX32630FTHR::MAX32630FTHR() : i2c(P5_7, P6_0), max14690(&i2c)
{
- hdrVio = vio;
}
//******************************************************************************
@@ -49,7 +48,7 @@
}
//******************************************************************************
-int MAX32630FTHR::init()
+int MAX32630FTHR::init(vio_t hdrVio)
{
// Override the default values
max14690.ldo2Millivolts = 3300;