We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a61196 commit 7149f7bCopy full SHA for 7149f7b
Adafruit_TSL2561/Adafruit_TSL2561.py
@@ -274,7 +274,6 @@ def begin(self):
274
#**************************************************************************
275
def enableAutoGain(self, enable):
276
if (self._debug == True): print "enableAutoGain"
277
- self._tsl2561AutoGain = enable if True else False
278
if (enable == True):
279
self._tsl2561AutoGain = enable
280
else:
0 commit comments