forked from airgradienthq/arduino
Comment description to invalidValue variable
This commit is contained in:
@ -81,6 +81,7 @@ bool Measurements::update(MeasurementType type, int val, int ch) {
|
|||||||
|
|
||||||
// Define data point source
|
// Define data point source
|
||||||
IntegerValue *temporary = nullptr;
|
IntegerValue *temporary = nullptr;
|
||||||
|
// Act as reference invalid value respective to target measurements
|
||||||
int invalidValue = 0;
|
int invalidValue = 0;
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case CO2:
|
case CO2:
|
||||||
@ -203,6 +204,7 @@ bool Measurements::update(MeasurementType type, float val, int ch) {
|
|||||||
|
|
||||||
// Define data point source
|
// Define data point source
|
||||||
FloatValue *temporary = nullptr;
|
FloatValue *temporary = nullptr;
|
||||||
|
// Act as reference invalid value respective to target measurements
|
||||||
float invalidValue = 0;
|
float invalidValue = 0;
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case Temperature:
|
case Temperature:
|
||||||
|
Reference in New Issue
Block a user