Comment description to invalidValue variable

This commit is contained in:
samuelbles07
2024-10-23 20:55:45 +07:00
parent 33e2977eb4
commit bf0768c7da

View File

@ -81,6 +81,7 @@ bool Measurements::update(MeasurementType type, int val, int ch) {
// Define data point source
IntegerValue *temporary = nullptr;
// Act as reference invalid value respective to target measurements
int invalidValue = 0;
switch (type) {
case CO2:
@ -203,6 +204,7 @@ bool Measurements::update(MeasurementType type, float val, int ch) {
// Define data point source
FloatValue *temporary = nullptr;
// Act as reference invalid value respective to target measurements
float invalidValue = 0;
switch (type) {
case Temperature: