mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-05 00:58:11 +00:00
Update DSM FwdPrg.lua
This commit is contained in:
parent
c98b8fc8bf
commit
baf9a0f978
@ -359,7 +359,7 @@ local function DSM_Display()
|
|||||||
attrib = 0
|
attrib = 0
|
||||||
end
|
end
|
||||||
if Line[i] ~= nil and Line[i].Type ~= nil then
|
if Line[i] ~= nil and Line[i].Type ~= nil then
|
||||||
if Line[i].Type ~= MENU then-- list/value
|
if Line[i].Type ~= MENU then -- list/value
|
||||||
if Line[i].Val ~= nil then
|
if Line[i].Val ~= nil then
|
||||||
local text=""
|
local text=""
|
||||||
if Line[i].Type == LIST_MENU_NOCHANGING or Line[i].Type == LIST_MENU2 then
|
if Line[i].Type == LIST_MENU_NOCHANGING or Line[i].Type == LIST_MENU2 then
|
||||||
@ -390,14 +390,14 @@ local function DSM_Display()
|
|||||||
else
|
else
|
||||||
lcd.drawText(437,32, "Back", 0)
|
lcd.drawText(437,32, "Back", 0)
|
||||||
end
|
end
|
||||||
lcd.drawRectangle(437-5, 32-2, 48, 25)
|
lcd.drawRectangle(437-5, 32-2, 47, 25)
|
||||||
if Menu.Next ~= 0 then
|
if Menu.Next ~= 0 then
|
||||||
if Menu.SelLine == 7 then
|
if Menu.SelLine == 7 then
|
||||||
lcd.drawText(437,220, "Next",INVERS)
|
lcd.drawText(437,220, "Next",INVERS)
|
||||||
else
|
else
|
||||||
lcd.drawText(437,220, "Next")
|
lcd.drawText(437,220, "Next")
|
||||||
end
|
end
|
||||||
lcd.drawRectangle(437-5, 220-2, 48, 25)
|
lcd.drawRectangle(437-5, 220-2, 47, 25)
|
||||||
end
|
end
|
||||||
if Menu.Prev ~= 0 then
|
if Menu.Prev ~= 0 then
|
||||||
if Menu.SelLine == 8 then
|
if Menu.SelLine == 8 then
|
||||||
@ -405,7 +405,7 @@ local function DSM_Display()
|
|||||||
else
|
else
|
||||||
lcd.drawText(5,220, "Prev")
|
lcd.drawText(5,220, "Prev")
|
||||||
end
|
end
|
||||||
lcd.drawRectangle(5-5, 220-2, 48, 25)
|
lcd.drawRectangle(5-5, 220-2, 47, 25)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
lcd.drawText(170,252, "RX "..RX.Name.." v"..RX.Version) -- display RX info
|
lcd.drawText(170,252, "RX "..RX.Name.." v"..RX.Version) -- display RX info
|
||||||
|
Loading…
x
Reference in New Issue
Block a user