From: GetAway Date: Sat, 14 Jan 2017 09:00:05 +0000 (+0100) Subject: fix idle cpu overload >90% X-Git-Url: https://git.webhop.me/?a=commitdiff_plain;h=03808eed850950aaddfc1fd968ec7f7bce7b8497;p=shellexec.git fix idle cpu overload >90% --- diff --git a/shellexec.c b/shellexec.c index a4198ef..789b60f 100644 --- a/shellexec.c +++ b/shellexec.c @@ -12,7 +12,7 @@ #include "pngw.h" -#define SH_VERSION 2.0 +#define SH_VERSION 2.01 static char CFG_FILE[128]="/var/tuxbox/config/shellexec.conf"; @@ -665,7 +665,7 @@ int Get_Selection(MENU *m) ShowInfo(m, knew); } knew=1; - switch(rccode = GetRCCode(mtmo * 1000)) + switch(rccode = GetRCCode(1000)) { case RC_RED: if(active && direct[0]>=0)