From 8fbac6bb74cab41f267b48ad47e84d0d8ef0168e Mon Sep 17 00:00:00 2001 From: Staars Date: Thu, 27 Aug 2020 12:06:12 +0200 Subject: [PATCH] always clear current gesture after handling --- tasmota/xsns_27_apds9960.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/tasmota/xsns_27_apds9960.ino b/tasmota/xsns_27_apds9960.ino index e0fe1acaf..f8857ff0b 100644 --- a/tasmota/xsns_27_apds9960.ino +++ b/tasmota/xsns_27_apds9960.ino @@ -1775,6 +1775,7 @@ void handleGesture(void) { } MqttPublishSensor(); } + currentGesture[0] = '\0'; } void APDS9960_loop(void) {