compilation fix after ccs811 lib refactoring

This commit is contained in:
2020-03-02 01:03:14 +03:00
parent 24bf7316a9
commit 504280ca84
2 changed files with 14 additions and 11 deletions

View File

@@ -34,9 +34,12 @@ Wire.begin(); //Inialize I2C Harware
//It is recommended to check return status on .begin(), but it is not
//required.
CCS811Core::status returnCode = ccs811.begin();
//CCS811Core::CC811_Status_e returnCode = ccs811.beginWithStatus();
if (returnCode != CCS811Core::SENSOR_SUCCESS)
//if (returnCode != CCS811Core::CCS811_Stat_SUCCESS)
{
Serial.println("CCS811 Init error");
Serial.print("CCS811 Init error ");
//Serial.println(ccs811.statusString(returnCode));
printDriverError(returnCode);
return 0;
}

View File

@@ -151,7 +151,7 @@ lib_deps =
FastLED
ClosedCube HDC1080
;SparkFun CCS811 Arduino Library
https://github.com/sparkfun/SparkFun_CCS811_Arduino_Library.git
https://github.com/sparkfun/SparkFun_CCS811_Arduino_Library.git@~1.0.7
M5Stack
Adafruit NeoPixel
ArduinoOTA
@@ -201,7 +201,7 @@ lib_deps =
FastLED
ClosedCube HDC1080
;SparkFun CCS811 Arduino Library
https://github.com/sparkfun/SparkFun_CCS811_Arduino_Library.git
https://github.com/sparkfun/SparkFun_CCS811_Arduino_Library.git@~1.0.7
Adafruit NeoPixel
ArduinoOTA
@@ -245,7 +245,7 @@ lib_deps =
https://github.com/arcao/Syslog.git
Streaming
ClosedCube HDC1080
SparkFun CCS811 Arduino Library
SparkFun CCS811 Arduino Library@~1.0.7
Adafruit NeoPixel
ArduinoOTA
@@ -286,7 +286,7 @@ lib_deps =
https://github.com/arcao/Syslog.git
Streaming
ClosedCube HDC1080
SparkFun CCS811 Arduino Library
SparkFun CCS811 Arduino Library@~1.0.7
Adafruit NeoPixel
ArduinoOTA
@@ -326,7 +326,7 @@ lib_deps =
https://github.com/arcao/Syslog.git
Streaming
ClosedCube HDC1080
SparkFun CCS811 Arduino Library
SparkFun CCS811 Arduino Library@~1.0.7
Adafruit NeoPixel
ArduinoOTA
@@ -380,7 +380,7 @@ lib_deps =
Streaming
ESP_EEPROM
ClosedCube HDC1080
SparkFun CCS811 Arduino Library
SparkFun CCS811 Arduino Library@~1.0.7
Adafruit NeoPixel
ArduinoOTA
@@ -422,7 +422,7 @@ lib_deps =
https://github.com/arcao/Syslog.git
Streaming
ClosedCube HDC1080
SparkFun CCS811 Arduino Library
SparkFun CCS811 Arduino Library@~1.0.7
Adafruit NeoPixel
ArduinoOTA
@@ -470,7 +470,7 @@ lib_deps =
Streaming
https://github.com/livello/PrintEx#is-select-redecl
ClosedCube HDC1080
SparkFun CCS811 Arduino Library
SparkFun CCS811 Arduino Library@~1.0.7
Adafruit NeoPixel
@@ -517,7 +517,7 @@ lib_deps =
Streaming
https://github.com/livello/PrintEx#is-select-redecl
ClosedCube HDC1080
SparkFun CCS811 Arduino Library
SparkFun CCS811 Arduino Library@~1.0.7
Adafruit NeoPixel
ArduinoOTA
@@ -560,7 +560,7 @@ lib_deps =
Streaming
https://github.com/livello/PrintEx#is-select-redecl
ClosedCube HDC1080
SparkFun CCS811 Arduino Library
SparkFun CCS811 Arduino Library@~1.0.7
Adafruit NeoPixel
ArduinoOTA