trying to fix gpio_slowdown
This commit is contained in:
@@ -196,7 +196,7 @@ func NewRGBLedMatrix(config *HardwareConfig, argc *int, argv *[]string) (c Matri
|
||||
}
|
||||
|
||||
w, h := config.geometry()
|
||||
m := C.led_matrix_create_from_options(config.toC(), argc, &stringsToC(*argv))
|
||||
m := C.led_matrix_create_from_options(config.toC(), &C.int(*argc), &stringsToC(*argv))
|
||||
b := C.led_matrix_create_offscreen_canvas(m)
|
||||
c = &RGBLedMatrix{
|
||||
Config: config,
|
||||
|
||||
Reference in New Issue
Block a user