Skip to content

Commit

Permalink
Merge pull request #47 from altugbakan/master
Browse files Browse the repository at this point in the history
Fix overwriting single button sensitivity
  • Loading branch information
per1234 authored May 25, 2022
2 parents 1d744f5 + 2856f21 commit 562fa3a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/TouchPads/Custom_Sensitivity/Custom_Sensitivity.ino
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ void setup() {
// First we update all the buttons with the new threshold
// Then we overwrite individually one of them (they can be all set individually too)
carrier.Buttons.updateConfig(threshold);
carrier.Buttons.updateConfig(threshold_btn_0);

carrier.Buttons.updateConfig(threshold_btn_0, TOUCH0);
}

void loop() {
Expand Down

0 comments on commit 562fa3a

Please sign in to comment.