Set min value to 1.0

This commit is contained in:
microbuilder
2017-12-18 18:51:11 +01:00
parent 0c88fba4e7
commit 3aefef7dee

View File

@@ -532,6 +532,6 @@ void Adafruit_TSL2561_Unified::getSensor(sensor_t *sensor)
sensor->type = SENSOR_TYPE_LIGHT;
sensor->min_delay = 0;
sensor->max_value = 17000.0; /* Based on trial and error ... confirm! */
sensor->min_value = 0.0;
sensor->min_value = 1.0;
sensor->resolution = 1.0;
}