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.
Dependents: MAX30205_Human_Body_Temperature_Sensor
Diff: MAX30205.cpp
- Revision:
- 6:b5ab5204d944
- Parent:
- 4:68e1b36becb0
- Child:
- 8:2aeb45dd2bb9
--- a/MAX30205.cpp Fri Apr 07 21:48:48 2017 +0000
+++ b/MAX30205.cpp Tue Apr 11 22:07:28 2017 +0000
@@ -66,7 +66,7 @@
//******************************************************************************
-int32_t MAX30205::readConfiguration(Config &config)
+int32_t MAX30205::readConfiguration(Configuration_u &config)
{
uint16_t data;
@@ -82,7 +82,7 @@
//******************************************************************************
-int32_t MAX30205::writeConfiguration(const Config config)
+int32_t MAX30205::writeConfiguration(const Configuration_u config)
{
uint16_t local_config = (0x00FF & config.all);
@@ -141,7 +141,7 @@
//******************************************************************************
-int32_t MAX30205::writeRegister(Registers reg, uint16_t value)
+int32_t MAX30205::writeRegister(Registers_e reg, uint16_t value)
{
int32_t result;
@@ -156,7 +156,7 @@
//******************************************************************************
-int32_t MAX30205::readRegister(Registers reg, uint16_t &value)
+int32_t MAX30205::readRegister(Registers_e reg, uint16_t &value)
{
int32_t result;