From: Rachael Date: Sun, 14 May 2017 01:12:39 +0000 (-0700) Subject: removed some dead code from a failed fix attempt X-Git-Url: https://hydra-www.ietfng.org/gitweb/?a=commitdiff_plain;h=2a68647b4c5f638ddb887ab4165703e9ffa413fc;p=acmetensortoys-esp-lua_lamp removed some dead code from a failed fix attempt --- diff --git a/lamp-touch.lua b/lamp-touch.lua index d5bba7b..eca101a 100644 --- a/lamp-touch.lua +++ b/lamp-touch.lua @@ -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