check if interface exists before trying to get its device or type

This commit is contained in:
Mikayla Fischler
2022-04-22 10:21:15 -04:00
parent 991c855c11
commit f7c11febe5
3 changed files with 8 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ os.loadAPI("dev/boiler_rtu.lua")
os.loadAPI("dev/imatrix_rtu.lua")
os.loadAPI("dev/turbine_rtu.lua")
local RTU_VERSION = "alpha-v0.2.1"
local RTU_VERSION = "alpha-v0.2.2"
local print = util.print
local println = util.println