Subversion Repositories Code-Repo

Rev

Rev 155 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 155 Rev 157
Line 134... Line 134...
134
        b = TSL2561_LUX_B8T; m = TSL2561_LUX_M8T;
134
        b = TSL2561_LUX_B8T; m = TSL2561_LUX_M8T;
135
    }
135
    }
136
#endif
136
#endif
137
    
137
    
138
//    temp = ((channel0 * b) - (channel1 * m));
138
//    temp = ((channel0 * b) - (channel1 * m));
139
    // TODO: change this back once they fix compiler
139
    // TODO: Change this back once they fix compiler
140
    temp = (channel0 * b);
140
    temp = (channel0 * b);
141
    temp -= (channel1 * m);
141
    temp -= (channel1 * m);
142
 
142
 
143
//    // do not allow negative lux value
143
//    // do not allow negative lux value
144
//    if (temp < 0)
144
//    if (temp < 0)