Skip to content

Commit 48702b8

Browse files
authored
Init on updateConfig()
1 parent 40eed70 commit 48702b8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Arduino_MKRIoTCarrier_Qtouch.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -103,4 +103,6 @@ void MKRIoTCarrier_Qtouch_Manager::update(){
103103
void MKRIoTCarrier_Qtouch_Manager::updateConfig(int newSens){
104104
TOUCH.setSensorsSensitivity(newSens);
105105
//TOUCH.setSernsorsHysteresis(newHyst);
106+
TOUCH.begin();
107+
customSens = true;
106108
}

0 commit comments

Comments
 (0)