diff --git a/src/SparkFunCCS811.cpp b/src/SparkFunCCS811.cpp index d9f8bab..b6d3d58 100644 --- a/src/SparkFunCCS811.cpp +++ b/src/SparkFunCCS811.cpp @@ -35,17 +35,13 @@ Distributed as-is; no warranty is given. //****************************************************************************// // -// LIS3DHCore functions -// -// For I2C, construct LIS3DHCore myIMU(
); +// CCS811Core functions // // Default is 0x5B. // //****************************************************************************// -CCS811Core::CCS811Core( uint8_t inputArg ) : I2CAddress(0x5B) +CCS811Core::CCS811Core( uint8_t inputArg ) : I2CAddress(inputArg) { - I2CAddress = inputArg; - } CCS811Core::status CCS811Core::beginCore(void) @@ -535,4 +531,4 @@ float CCS811::getResistance( void ) float CCS811::getTemperature( void ) { return temperature; -} \ No newline at end of file +}