Skip to content

Commit bf0dcf5

Browse files
committed
removeme: temp: print waring if BSEC version is not 1.8.x
1 parent 378f77b commit bf0dcf5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/AirQualityClass.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ int AirQualityClass::begin()
3939
if (checkIaqSensorStatus() == STATUS_ERROR){
4040
return 0;
4141
}
42+
if (iaqSensor->version.minor != 0) {
43+
Serial.println("Probably wrong BSEC library from lib manager");
44+
}
4245

4346
bsec_virtual_sensor_t sensorList[10] = {
4447
BSEC_OUTPUT_RAW_TEMPERATURE,

0 commit comments

Comments
 (0)