Merge pull request #3 from brendanporter/gpio_slowdown

fixing gpio slowdown
pull/13/head
Brendan Porter 6 years ago committed by GitHub
commit 3007a6dc86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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