Update loft.groovy
authorSeyed Amir Hossein Aqajari <amiraj.95@uci.edu>
Mon, 5 Aug 2019 01:49:22 +0000 (18:49 -0700)
committerGitHub Enterprise <noreply@github.uci.edu>
Mon, 5 Aug 2019 01:49:22 +0000 (18:49 -0700)
third-party/loft.groovy

index 7b1368e..776e331 100755 (executable)
@@ -215,14 +215,14 @@ def eventHandler1(evt) {
 def changeMode(mode) {
     //voice?.speak("changing mode to ${mode}")
     setLocationMode(mode)
 def changeMode(mode) {
     //voice?.speak("changing mode to ${mode}")
     setLocationMode(mode)
-    eventHandler([
+    eventHandler1([
         displayName: "changeMode",
         value:       mode
     ])
 }
 
 def tick() {
         displayName: "changeMode",
         value:       mode
     ])
 }
 
 def tick() {
-    eventHandler([
+    eventHandler1([
       displayName: "tick",
       value: "tock"
     ])
       displayName: "tick",
       value: "tock"
     ])