mirror of
https://github.com/miguel5612/MQSensorsLib.git
synced 2025-03-25 10:10:01 +03:00
Fixed reference
This commit is contained in:
parent
f068d2c330
commit
66fc0dedb5
@ -97,7 +97,7 @@ void MQUnifiedsensor::setSensorCharacteristics(String nameLectureRequeired, bool
|
|||||||
//Defaults index
|
//Defaults index
|
||||||
if(nameLectureRequeired == "")
|
if(nameLectureRequeired == "")
|
||||||
{
|
{
|
||||||
nameLectureRequeired = __nameLectureRequeired;
|
nameLectureRequeired = _nameLectureRequeired;
|
||||||
}
|
}
|
||||||
|
|
||||||
//Dinamic index search
|
//Dinamic index search
|
||||||
@ -127,7 +127,7 @@ void MQUnifiedsensor::setSensorCharacteristics(String nameLectureRequeired, bool
|
|||||||
_m = stringToDouble(_MQ[_lecturePosInArray+1]);
|
_m = stringToDouble(_MQ[_lecturePosInArray+1]);
|
||||||
_b = stringToDouble(_MQ[_lecturePosInArray+2]);
|
_b = stringToDouble(_MQ[_lecturePosInArray+2]);
|
||||||
//Save the name for future calls
|
//Save the name for future calls
|
||||||
nameLectureRequeired = __nameLectureRequeired;
|
nameLectureRequeired = _nameLectureRequeired;
|
||||||
}
|
}
|
||||||
int MQUnifiedsensor::readPPM(int m, int b) {
|
int MQUnifiedsensor::readPPM(int m, int b) {
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user