Skip to content

Commit 66db29f

Browse files
committed
Update /lib
1 parent 53df708 commit 66db29f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib/pushButton/PushButton.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Button::Button(int pin, int initState, int32_t trigger) {
2929
if (isAnalogThreshold || isAnalogValue) {
3030
if (analogCompareValue > ANALOG_READ_RANGE) {
3131
analogCompareValue = ANALOG_READ_RANGE;
32-
DF("WRN: Button::Button(), AnalogCompareValue for pin "); D(pin); DF(" is above analog range setting to "); DL(threshold);
32+
DF("WRN: Button::Button(), AnalogCompareValue for pin "); D(pin); DF(" is above analog range setting to "); DL(analogCompareValue);
3333
}
3434
if (analogCompareValue - hysteresis < 0) {
3535
hysteresis = analogCompareValue;

0 commit comments

Comments
 (0)