From e46ef1c378a30f21530558c10c317642d3425948 Mon Sep 17 00:00:00 2001 From: Brendan Porter Date: Wed, 15 Aug 2018 18:44:43 -0500 Subject: [PATCH] fixing gpio slowdown --- matrix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix.go b/matrix.go index 439a34e..1a0f089 100644 --- a/matrix.go +++ b/matrix.go @@ -120,7 +120,7 @@ func (c *HardwareConfig) toC() *C.struct_RGBLedMatrixOptions { o.hardware_mapping = C.CString(c.HardwareMapping) if c.GPIOSlowdown >= 0 && c.GPIOSlowdown < 3 { - C.gpio_slowdown(gpio_slowdown) + C.gpio_slowdown(c.GPIOSlowdown) } if c.ShowRefreshRate == true {