diff options
| author | rebecca <ubq323@ubq323.website> | 2026-09-24 16:42:28 +0100 |
|---|---|---|
| committer | rebecca <ubq323@ubq323.website> | 2026-09-24 18:20:25 +0100 |
| commit | 3f54007ab621d2e6b652523259b1cb2d3d158e22 (patch) | |
| tree | 101d01f242a14119a31f838be6a97a7d36847f5c /main.lua | |
| parent | c6bf8876a0949214ce3fc151b2dbb957e40523a3 (diff) | |
create Thing class for general tuples of (pylon,descriptor)
Diffstat (limited to 'main.lua')
| -rw-r--r-- | main.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,7 +3,7 @@ local class = require'r.class' local pprint = require'pprint' local config = require'config' -local Channel = require'channel' +local Thing = require'thing' local Log = require 'log' local Store = require 'store' @@ -38,7 +38,7 @@ function Wilson.make(cls, conf) local pylon_name, channel_descriptor = item[1], item[2] local pylon = self.pylons[pylon_name] assert(pylon,"no such pylon named "..pylon_name) - table.insert(bus, Channel(pylon, channel_descriptor)) + table.insert(bus, Thing(pylon, channel_descriptor)) end self.log("constructed bus ",name,'with '..#bus_conf..' channels') self.busses[name] = bus |
