diff options
author | Martin Ashby <martin@martin-laptop.lan> | 2018-05-28 16:57:07 +0100 |
---|---|---|
committer | Martin Ashby <martin@martin-laptop.lan> | 2018-05-28 16:57:07 +0100 |
commit | efe8866f28f229446440c6d871e4f9845a97266f (patch) | |
tree | 4ea2ccd1bf964809c8b6528e29d2c7f34286fa96 /unicorn/RealUnicorn2.go | |
parent | f20896ef3b147ac07769eb36c67ba436c6d2ed22 (diff) | |
download | unicornpaint-efe8866f28f229446440c6d871e4f9845a97266f.tar.gz unicornpaint-efe8866f28f229446440c6d871e4f9845a97266f.tar.bz2 unicornpaint-efe8866f28f229446440c6d871e4f9845a97266f.tar.xz unicornpaint-efe8866f28f229446440c6d871e4f9845a97266f.zip |
Added build tags. Builds & runs OK on RPi (can show test animation)
Diffstat (limited to 'unicorn/RealUnicorn2.go')
-rw-r--r-- | unicorn/RealUnicorn2.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/unicorn/RealUnicorn2.go b/unicorn/RealUnicorn2.go index 991e79f..861b1d5 100644 --- a/unicorn/RealUnicorn2.go +++ b/unicorn/RealUnicorn2.go @@ -60,6 +60,12 @@ func NewUnicorn2() (*RealUnicorn2, error) { }, nil } +// StartRender ... +// Passes through to base to actually do the render +func (u *RealUnicorn2) StartRender() chan bool { + return u.StartRenderBase(u.renderImage) +} + // MainLoop ... // Just blocks until sigterm func (u *RealUnicorn2) MainLoop() { |