Changeset 105


Ignore:
Timestamp:
2013-10-06 03:47:53 (11 years ago)
Author:
zoot1612
Message:

Fixed startup failure when keyboard exists but not attached to partition

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified branches/2.0_changes/L_ElkAlarmPanel1.lua ΒΆ

    r104 r105  
    14991499                      kp = kp + 1 
    15001500                      local partition = tonumber(p, 10) or 0 
    1501                       if (partition > 0) then 
     1501                      if (partition > 0 and (g_keypads[kp] ~= nil)) then 
    15021502                        g_keypads[kp].partition = partition 
    15031503                      end 
Note: See TracChangeset for help on using the changeset viewer.