A mesh seat's holder answers for the machine it runs on (hq ADR 0197)

The controller announces the mesh-controller seat without a machine — the seat is the mesh's — and
the console then reported it as not answering on the machine it is assigned to. An announcement that
names no machine now answers for wherever its module is assigned.
This commit is contained in:
jochen
2026-10-03 23:22:56 +02:00
parent 6e425a000f
commit 4af59636c3
2 changed files with 9 additions and 3 deletions
+3 -1
View File
@@ -299,7 +299,9 @@ func indexOn(conn *bus.Conn) (*index, error) {
continue
}
for _, n := range m.On {
if !announced[m.Module][n] {
// A holder of a seat held once for the mesh announces no machine — the seat is the mesh's,
// not a machine's — so what it announced without one answers for wherever it is assigned.
if !announced[m.Module][n] && !announced[m.Module][""] {
l.NotAnswering = append(l.NotAnswering, m.Module+" on "+n)
}
}