Merge branch 'master' into frankie-dsm-fwrd-prg-enhancements

This commit is contained in:
Frankie Arzu 2022-12-02 01:51:21 -06:00 committed by GitHub
commit 24b18c4f60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -737,15 +737,7 @@ local function DSM_sentTxInfo(menuId,curLine)
end end
----------------------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------------------
local function DSM_RX_Match(RxId, List)
for i = 1, #List do
if List[i] == RxId then return true end
end
return false
end
local function DSM_sendRequest() local function DSM_sendRequest()
-- Send the proper Request message depending on the Phase -- Send the proper Request message depending on the Phase
@ -1007,7 +999,7 @@ local function DSM_processResponse()
elseif cmd == 0x04 then -- read menu values elseif cmd == 0x04 then -- read menu values
DSM_parseMenuValue() DSM_parseMenuValue()
ctx.Phase = PHASE.MENU_VALUES ctx.Phase = PHASE.MENU_VALUES
elseif cmd == 0x05 then -- Request TX Info elseif cmd == 0x05 then -- Request TX Info
local lineNum = DSM_parseReqTxInfo() local lineNum = DSM_parseReqTxInfo()