From 6c4e89d4225915865b9e8fa55d5ff24b64d51241 Mon Sep 17 00:00:00 2001 From: Brendan Porter Date: Fri, 17 Aug 2018 12:24:10 -0500 Subject: [PATCH] trying to fix gpio slowdown --- matrix.go | 1 + 1 file changed, 1 insertion(+) diff --git a/matrix.go b/matrix.go index 8b9ddf1..5447de6 100644 --- a/matrix.go +++ b/matrix.go @@ -4,6 +4,7 @@ package rgbmatrix #cgo CFLAGS: -std=c99 -I${SRCDIR}/vendor/rpi-rgb-led-matrix/include -DSHOW_REFRESH_RATE #cgo LDFLAGS: -lrgbmatrix -L${SRCDIR}/vendor/rpi-rgb-led-matrix/lib -lstdc++ -lm #include +#include void led_matrix_swap(struct RGBLedMatrix *matrix, struct LedCanvas *offscreen_canvas, int width, int height, const uint32_t pixels[]) {