diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/speedlimiter.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/speedlimiter.lua b/scripts/speedlimiter.lua index 90cd229..8ce1f63 100755 --- a/scripts/speedlimiter.lua +++ b/scripts/speedlimiter.lua @@ -34,8 +34,10 @@ function spdLmtMethodEvent(idx) GetSLIMaxInfo()
-- init table
- initLedTable(mRPMLedTable, 0)
- SetRPMLed("mRPMLedTable")
+ if idx >= 2 then
+ initLedTable(mRPMLedTable, 0)
+ SetRPMLed("mRPMLedTable")
+ end
if mNoBlink or (mSpdLimitMethod == 0) then
-- speedlimiter led NOT blinking
|