From b9ed20f109cf368a676b5b6066a3632f290f6697 Mon Sep 17 00:00:00 2001 From: kiritow <1362050620@qq.com> Date: Thu, 26 Oct 2017 09:49:14 +0800 Subject: [PATCH] update 2/4 program --- station_2_4.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/station_2_4.lua b/station_2_4.lua index 92226e6..5e9e219 100644 --- a/station_2_4.lua +++ b/station_2_4.lua @@ -205,6 +205,8 @@ local function TCSMain() -- Main Processing Loop local running=true while(running) do + os.sleep(0.5) + local ev="no_event" if(ebus:top()~=nil) then ev=ebus:pop() -- Notice: Event is already poped. @@ -216,7 +218,7 @@ local function TCSMain() end if(ev=="no_event") then - os.sleep(0.5) -- No event, delay for more info + -- No event, no action. elseif(ev=="stop") then running=false --- AB