Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
da78a00446 | ||
![]() |
ba3c55dc34 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,4 @@
|
|||||||
|
.DS_Store
|
||||||
*.cfg
|
*.cfg
|
||||||
*.log
|
*.log
|
||||||
artNetDriver-arm64
|
artNetDriver-arm64
|
||||||
|
@@ -126,6 +126,8 @@ func (b *Bus) Start(log *logging.Logger) error {
|
|||||||
interval = 5 * time.Second
|
interval = 5 * time.Second
|
||||||
} else {
|
} else {
|
||||||
b.Reachable = true
|
b.Reachable = true
|
||||||
|
// send data as a heartbeat for the ArtNet Protocol
|
||||||
|
b.Send <- b.Data
|
||||||
log.Info("bus.Start", fmt.Sprintf("device:%s ip:%s watchdog running", b.Name, b.Ip))
|
log.Info("bus.Start", fmt.Sprintf("device:%s ip:%s watchdog running", b.Name, b.Ip))
|
||||||
interval = 30 * time.Second
|
interval = 30 * time.Second
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user