Skip to content

Commit 562fa3a

Browse files
authored
Merge pull request #47 from altugbakan/master
Fix overwriting single button sensitivity
2 parents 1d744f5 + 2856f21 commit 562fa3a

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)