Remove maximum/minimum brightness decay

This commit is contained in:
fruchti 2020-07-15 14:07:07 +02:00
parent 5ffaee918a
commit 75d280c8ea
3 changed files with 1 additions and 10 deletions

View file

@ -11,9 +11,6 @@
// 'Forgetting factor' of the rolling brightness average
#define LIGHTSENSOR_LAMBDA 0.95f
// 'Forgetting factor' for maximum and minimum brightness
#define LIGHTSENSOR_ALPHA 0.999f
// Bounds for converting absolute to relative brightness: Consider everything
// near the minimum or maximum 0.0 or 1.0, respectively
#define LIGHTSENSOR_LOW_BOUND 0.1f