Skip to content

Commit 36028ff

Browse files
authored
updateConfig now on Buttons Class
Moved updateConfig() and added bool customSens
1 parent 057c2df commit 36028ff

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Arduino_MKRIoTCarrier_Qtouch.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ class MKRIoTCarrier_Qtouch_Manager{
3434

3535
int t_state[5];
3636

37-
private:
37+
//Set touch settings
38+
void updateConfig(int newSens);
39+
bool customSens = false;
40+
3841
};
3942

4043
class MKRIoTCarrier_Qtouch{
@@ -45,9 +48,6 @@ class MKRIoTCarrier_Qtouch{
4548
bool onTouchDown();
4649
bool onTouchUp();
4750
bool onTouchChange();
48-
49-
//Set touch settings
50-
void updateConfig(int newSens);
5151

5252
private:
5353
MKRIoTCarrier_Qtouch_Manager * _pManager;

0 commit comments

Comments
 (0)