Skip to content

Commit cbb2750

Browse files
authored
removed comment about but in setMTreg
// Bug: lowest value seems to be 32! tested on my module with batch/lot number `AAO 261`. there was no issues with setting MTreg and reading proper light level.
1 parent b001acf commit cbb2750

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/BH1750.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ bool BH1750::configure(Mode mode) {
143143
* false if MTreg not changed or parameter out of range
144144
*/
145145
bool BH1750::setMTreg(byte MTreg) {
146-
// Bug: lowest value seems to be 32!
147146
if (MTreg < BH1750_MTREG_MIN || MTreg > BH1750_MTREG_MAX) {
148147
Serial.println(F("[BH1750] ERROR: MTreg out of range"));
149148
return false;

0 commit comments

Comments
 (0)