fix mistake with IDC

This commit is contained in:
2026-01-01 23:31:32 -05:00
parent 82ee133d5f
commit 7f26dc3f6b

View File

@ -125,9 +125,9 @@ if transceiver == nil then
else else
-- Configure transceiver IDC to match iris password (if GDO enabled) -- Configure transceiver IDC to match iris password (if GDO enabled)
if config.enableGDO and config.irisPassword then if config.enableGDO and config.irisPassword then
local idcCode = tonumber(config.irisPassword) local idcCode = config.irisPassword
if idcCode then if idcCode then
transceiver.setIDC(idcCode) transceiver.setCurrentCode(idcCode)
utils.log("Transceiver IDC configured to: " .. idcCode) utils.log("Transceiver IDC configured to: " .. idcCode)
else else
print("WARNING: irisPassword must be a number for GDO support") print("WARNING: irisPassword must be a number for GDO support")