trying to fix gpio slowdown

pull/13/head
Brendan Porter 6 years ago
parent c1ae882c7c
commit 0174d3dae6

@ -187,6 +187,8 @@ func NewRGBLedMatrix(config *HardwareConfig, argc *int, argv *[]string) (c Matri
w, h := config.geometry() w, h := config.geometry()
cargc := C.int(*argc) cargc := C.int(*argc)
cargv := stringsToC(*argv) cargv := stringsToC(*argv)
fmt.Printf("ArgV: %#v", *argv)
fmt.Printf("CArgV: %#v", cargv)
m := C.led_matrix_create_from_options(config.toC(), &cargc, &cargv) m := C.led_matrix_create_from_options(config.toC(), &cargc, &cargv)
b := C.led_matrix_create_offscreen_canvas(m) b := C.led_matrix_create_offscreen_canvas(m)
c = &RGBLedMatrix{ c = &RGBLedMatrix{

Loading…
Cancel
Save