Update button.cpp

overlooked one
This commit is contained in:
Frank 2022-06-20 22:00:23 +02:00
parent 169a46c38c
commit ed374684a6

View File

@ -133,7 +133,7 @@ void handleSwitch(uint8_t b)
#define ANALOG_BTN_READ_CYCLE 250 // min time between two analog reading cycles
#define STRIP_WAIT_TIME 6 // max wait time in case of strip.isUpdating()
#define POT_SMOOTHING 0.25 // smoothing factor for raw potentiometer readings
#define POT_SMOOTHING 0.25f // smoothing factor for raw potentiometer readings
#define POT_SENSITIVITY 4 // changes below this amount are noise (POT scratching, or ADC noise)
void handleAnalog(uint8_t b)