diff --git a/startup.lua b/startup.lua index 0fb027b..73373c5 100644 --- a/startup.lua +++ b/startup.lua @@ -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")