This commit is contained in:
@@ -34,4 +34,4 @@ jobs:
|
||||
with:
|
||||
push: true
|
||||
tags: registry.local/rgbboard:${{ steps.short-sha.outputs.short-sha }}
|
||||
platforms: linux/arm64,linux/amd64
|
||||
platforms: linux/arm64
|
||||
@@ -108,10 +108,9 @@ func (a *Animation) Next() (image.Image, <-chan time.Time, error) {
|
||||
json.Unmarshal([]byte(string(msg.Payload())), &incoming)
|
||||
fmt.Println(incoming.Type)
|
||||
if incoming.Type == "doorbell" {
|
||||
a.msg = string(msg.Payload())
|
||||
a.ctx.DrawString(a.msg, 5, 9)
|
||||
} else {
|
||||
go appendImage(incoming.Image, a)
|
||||
} else {
|
||||
a.ctx.DrawString(a.msg, 5, 9)
|
||||
}
|
||||
default:
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user