]> hydra-www.ietfng.org Git - acmetensortoys-esp-lua_lamp/commitdiff
removed some dead code from a failed fix attempt
authorRachael <srbennett@gmail.com>
Sun, 14 May 2017 01:12:39 +0000 (18:12 -0700)
committerRachael <srbennett@gmail.com>
Sun, 14 May 2017 01:12:39 +0000 (18:12 -0700)
lamp-touch.lua

index d5bba7bc95ddcf4f70e8674cbeb723d99910b2a2..eca101aa15abbc5cce394ab8dcd702c15551d9fc 100644 (file)
@@ -10,7 +10,6 @@ local touch_db_blackout = nil
 local touch_db_fn = nil
 local touchfns    = { }
 local touchfnix = 1
-local dimonly = false
 
 if touchcolor == nil then touchcolor = 40 end
 if touchlastfn == nil then touchlastfn = "fill" end
@@ -133,7 +132,7 @@ local function ontouch()
     dodraw()
   end
 
-  if not isblackout and not dimonly then
+  if not isblackout then
     -- front right buttons: local color wheel
     if bit.isset(down,1) then
       -- go forward quickly or slowly