Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6e27fc641b | |||
| 66d55c15de |
@@ -60,7 +60,7 @@ var DefaultConfig = HardwareConfig{
|
|||||||
}
|
}
|
||||||
|
|
||||||
type RunTimeConfig struct {
|
type RunTimeConfig struct {
|
||||||
gpio_slowdown int
|
Gpio_slowdown int
|
||||||
}
|
}
|
||||||
|
|
||||||
// HardwareConfig rgb-led-matrix configuration
|
// HardwareConfig rgb-led-matrix configuration
|
||||||
@@ -110,7 +110,7 @@ func (c *HardwareConfig) geometry() (width, height int) {
|
|||||||
|
|
||||||
func (c *RunTimeConfig) rt_options() *C.struct_RGBLedRuntimeOptions {
|
func (c *RunTimeConfig) rt_options() *C.struct_RGBLedRuntimeOptions {
|
||||||
rt := &C.struct_RGBLedRuntimeOptions{}
|
rt := &C.struct_RGBLedRuntimeOptions{}
|
||||||
rt.gpio_slowdown = C.int(c.gpio_slowdown)
|
rt.gpio_slowdown = C.int(c.Gpio_slowdown)
|
||||||
|
|
||||||
return rt
|
return rt
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user