Skip to content

Commit 2491628

Browse files
authored
threshold word fixed
1 parent bcaefa6 commit 2491628

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/TouchPads/Custom_Sensitivity/Custom_Sensitivity.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ bool CARRIER_CASE = false;
66
// When CARRIER_CASE is true it's set to 4 (further)
77
// But if you use Buttons.updateConfig(value) It will not set the above values
88

9-
unsigned int trheshold = 100;
9+
unsigned int threshold = 100;
1010

1111
void setup() {
1212
// put your setup code here, to run once:
1313
Serial.begin(9600);
1414
while (!Serial);
1515

16-
//Now we can set our custom touch trheshold
17-
carrier.Buttons.updateConfig(trheshold);
16+
//Now we can set our custom touch threshold
17+
carrier.Buttons.updateConfig(threshold);
1818
carrier.begin();
1919
}
2020

0 commit comments

Comments
 (0)