forked from adafruit/Adafruit_TSL2561
@@ -131,7 +131,7 @@ boolean Adafruit_TSL2561_Unified::init()
|
||||
/**************************************************************************/
|
||||
void Adafruit_TSL2561_Unified::enableAutoRange(bool enable)
|
||||
{
|
||||
_tsl2561AutoGain = enable ? true : false;
|
||||
_tsl2561AutoGain = enable;
|
||||
}
|
||||
|
||||
/**************************************************************************/
|
||||
|
Reference in New Issue
Block a user