mirror of
https://github.com/adafruit/Adafruit_TSL2561.git
synced 2025-08-02 18:34:27 +02:00
@@ -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