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.
This commit is contained in:
beta-tester
2022-01-14 00:17:12 +01:00
committed by GitHub
parent b001acf6b2
commit cbb2750e25
-1
View File
@@ -143,7 +143,6 @@ bool BH1750::configure(Mode mode) {
* false if MTreg not changed or parameter out of range
*/
bool BH1750::setMTreg(byte MTreg) {
// Bug: lowest value seems to be 32!
if (MTreg < BH1750_MTREG_MIN || MTreg > BH1750_MTREG_MAX) {
Serial.println(F("[BH1750] ERROR: MTreg out of range"));
return false;