Changeset 14670 for trunk/FACT++/src


Ignore:
Timestamp:
11/20/12 17:30:23 (12 years ago)
Author:
tbretz
Message:
Exclude 'broken' humidity sensor from average.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/smartfact.cc

    r14622 r14670  
    17001700
    17011701        for (const float *t=ptr; t<ptr+4; t++)
    1702             if (*t>0 && *t<=100)
     1702            if (*t>0 && *t<=100 && t!=ptr+2 /*excl broken sensor*/)
    17031703            {
    17041704                avg += *t;
Note: See TracChangeset for help on using the changeset viewer.