change send data to dmx as 23 millisecond ticker when new data

This commit is contained in:
Adrian Zuercher
2025-07-25 22:37:35 +02:00
parent b484745ed1
commit 05409c2544
2 changed files with 20 additions and 16 deletions

View File

@@ -141,9 +141,6 @@ func (d *ArtNetDriver) Connect(ip, id string, port uint) error {
// send data to all buses that the send flage is true
func (d *ArtNetDriver) SendData() {
for _, bus := range d.Buses {
if !bus.Reachable {
continue
}
bus.Send <- bus.Data
bus.Send = bus.Reachable
}
}