]> hydra-www.ietfng.org Git - acmetensortoys-esp-lua_core/commitdiff
fix typo in telnetd-diag rtcfifo
authorNathaniel Wesley Filardo <nwf@cs.jhu.edu>
Sat, 29 Jul 2017 20:12:00 +0000 (16:12 -0400)
committerNathaniel Wesley Filardo <nwf@cs.jhu.edu>
Mon, 31 Jul 2017 11:59:12 +0000 (07:59 -0400)
telnetd/telnetd-diag.lua

index faceeb917ffbb874a9243c41c21b613c0f791f20..ec516121e99f30d5f87a3979d944106e55217bf7 100644 (file)
@@ -3,7 +3,7 @@ return {
   ["boot"] = function(_,s) s(string.format("raw=%d reason=%d",node.bootreason())) end,
   ["info"] = function(_,s) s(string.format("major=%d minor=%d dev=%d chip=%d flash=%d fs=%d fm=%d fs=%d",node.info())) end,
   ["heap"] = function(_,s) s(string.format("free=%d",node.heap())) end,
-  ["fifo"] = function(_,s) if rctfifo and rtcfifo.ready() ~= 0 then s(string.format("fifo=%d",rtcfifo.count())) else s("no rtcfifo") end end,
+  ["fifo"] = function(_,s) if rtcfifo and rtcfifo.ready() ~= 0 then s(string.format("fifo=%d",rtcfifo.count())) else s("no rtcfifo") end end,
   ["exec"] = function(l,s)
        local f, err = loadstring(l)
        if f then local ok, res = pcall(f); if ok == true then s("ok: "..tostring(res)) else s("pcall err: "..res) end