Skip to content

Commit d69dd49

Browse files
committed
Fix overwriting single button sensitivity
1 parent 290d01e commit d69dd49

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/TouchPads/Custom_Sensitivity/Custom_Sensitivity.ino

+1-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ void setup() {
1919
// First we update all the buttons with the new threshold
2020
// Then we overwrite individually one of them (they can be all set individually too)
2121
carrier.Buttons.updateConfig(threshold);
22-
carrier.Buttons.updateConfig(threshold_btn_0);
23-
22+
carrier.Buttons.updateConfig(threshold_btn_0, TOUCH0);
2423
}
2524

2625
void loop() {

0 commit comments

Comments
 (0)