Code Beautification

This commit is contained in:
Seth Troisi
2019-04-03 10:36:09 -07:00
parent 51cd63a98f
commit b146b355e2

View File

@@ -131,7 +131,7 @@ boolean Adafruit_TSL2561_Unified::init()
/**************************************************************************/ /**************************************************************************/
void Adafruit_TSL2561_Unified::enableAutoRange(bool enable) void Adafruit_TSL2561_Unified::enableAutoRange(bool enable)
{ {
_tsl2561AutoGain = enable ? true : false; _tsl2561AutoGain = enable;
} }
/**************************************************************************/ /**************************************************************************/