From efe8866f28f229446440c6d871e4f9845a97266f Mon Sep 17 00:00:00 2001 From: Martin Ashby Date: Mon, 28 May 2018 16:57:07 +0100 Subject: Added build tags. Builds & runs OK on RPi (can show test animation) --- unicorn/RealUnicorn2.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'unicorn/RealUnicorn2.go') 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() { -- cgit v1.2.3-ZIG