fixing gpio slowdown

pull/13/head
Brendan Porter 6 years ago
parent 1563b8531e
commit e46ef1c378

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

Loading…
Cancel
Save