fix wrong call and missing send set

This commit is contained in:
Adrian Zuercher
2025-07-27 13:07:16 +02:00
parent a503b71fb6
commit 3704edebd5
2 changed files with 8 additions and 3 deletions

View File

@@ -1,6 +1,8 @@
package models
import "sync"
import (
"sync"
)
type DMX struct {
Data []byte
@@ -17,7 +19,7 @@ func (d *DMX) GetDMXData() (data []byte) {
d.mu.Lock()
data = d.Data
d.mu.Unlock()
return data
return
}
func (d *DMX) SetValue(channel uint, value uint8) {