From 61238eecd2496ad711cc60a56fda00cae2dd6fd1 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Mon, 11 Feb 2013 13:21:37 +0100 Subject: Updates. TBT --- scripts/global.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts/global.lua') diff --git a/scripts/global.lua b/scripts/global.lua index 2d6cf3e..fef9ac6 100755 --- a/scripts/global.lua +++ b/scripts/global.lua @@ -261,6 +261,10 @@ function GetSLIMaxInfo() if mOSPBlinkTime == nil then mOSPBlinkTime = 32 end if mOSPBlinkTime < 1 or mOSPBlinkTime > 48 then mOSPBlinkTime = 32 end + -- get current Power LED index + mPowerLED = GetContextInfo("ledpowerindex") + if mPowerLED == nil then mPowerLED = 11 end + -- get current speed Limiter LED index mSpeedLimiterLED = GetContextInfo("ledspeedlimiterindex") if mSpeedLimiterLED == nil then mSpeedLimiterLED = 5 end -- cgit v1.2.3