mirror of
https://github.com/claws/BH1750.git
synced 2026-07-27 19:56:17 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user