2 Commits
v1 ... v1.0.0

Author SHA1 Message Date
6e27fc641b duh exporting
All checks were successful
build lightwatch / build (push) Successful in 5m39s
2023-10-20 02:12:27 +00:00
66d55c15de export field
All checks were successful
build lightwatch / build (push) Successful in 5m41s
2023-10-20 02:10:31 +00:00

View File

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