fixing gpio slowdown

This commit is contained in:
Brendan Porter
2018-08-15 18:44:43 -05:00
parent 1563b8531e
commit e46ef1c378

View File

@@ -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 {