Skip to content

Commit d3fbbf9

Browse files
authored
Update pos_osd.lua
1 parent fbf36a3 commit d3fbbf9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/SCRIPTS/BF/PAGES/pos_osd.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ return {
143143
local profiles = bit32.extract(inputVal, 11, 3)
144144
local fieldPos = bit32.extract(inputVal, 0, 11)
145145
local fieldFirstProfile = bit32.band(bit32.rshift(profiles, 0), 1)
146-
local fieldThirdProfile = bit32.band(bit32.rshift(profiles, 1), 1)
147-
local fieldFourthProfile = bit32.band(bit32.rshift(profiles, 2), 1)
148-
return fieldPos, fieldFirstProfile, fieldThirdProfile, fieldFourthProfile
146+
local FieldSecondProfile = bit32.band(bit32.rshift(profiles, 1), 1)
147+
local FieldThirdProfile = bit32.band(bit32.rshift(profiles, 2), 1)
148+
return fieldPos, fieldFirstProfile, FieldSecondProfile, FieldThirdProfile
149149
end,
150150
updateItems = function(self)
151151
if self.fields[1].value ~= items[address + 1]["address"] then

0 commit comments

Comments
 (0)