fix mistake with IDC
This commit is contained in:
@ -125,9 +125,9 @@ if transceiver == nil then
|
||||
else
|
||||
-- Configure transceiver IDC to match iris password (if GDO enabled)
|
||||
if config.enableGDO and config.irisPassword then
|
||||
local idcCode = tonumber(config.irisPassword)
|
||||
local idcCode = config.irisPassword
|
||||
if idcCode then
|
||||
transceiver.setIDC(idcCode)
|
||||
transceiver.setCurrentCode(idcCode)
|
||||
utils.log("Transceiver IDC configured to: " .. idcCode)
|
||||
else
|
||||
print("WARNING: irisPassword must be a number for GDO support")
|
||||
|
||||
Reference in New Issue
Block a user