#371 fixed RTU configurator bug with empty peripherals or redstone, re-ordered settings load, added type checks

This commit is contained in:
Mikayla Fischler
2023-11-15 19:28:32 -05:00
parent 1fdf012f65
commit a048b0aa4a
5 changed files with 19 additions and 11 deletions

View File

@@ -58,6 +58,9 @@ function rtu.load_config()
cfv.assert_type_str(config.LogPath)
cfv.assert_type_bool(config.LogDebug)
cfv.assert_type_table(config.Peripherals)
cfv.assert_type_table(config.Redstone)
return cfv.valid()
end