aboutsummaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorjaseg <jaseg@jaseg.net>2014-02-17 00:57:47 +0100
committerjaseg <jaseg@jaseg.net>2014-02-17 00:57:47 +0100
commit18fd12e916c8a33007a8ccd305d280493e8cd27d (patch)
tree4b06ce599c6a5129f6c08b234679bac7b3da3cfc /firmware
parenta1c175138dbcdbf4aa2bc43a41855e2b2832ba63 (diff)
downloadmatelight-18fd12e916c8a33007a8ccd305d280493e8cd27d.tar.gz
matelight-18fd12e916c8a33007a8ccd305d280493e8cd27d.tar.bz2
matelight-18fd12e916c8a33007a8ccd305d280493e8cd27d.zip
ctypes pointer narf working now
Diffstat (limited to 'firmware')
-rw-r--r--firmware/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/main.c b/firmware/main.c
index e101296..945e0af 100644
--- a/firmware/main.c
+++ b/firmware/main.c
@@ -65,8 +65,8 @@ unsigned const char const CRATE_MAP[CRATE_COUNT] = {
unsigned char framebuffer1[BUS_COUNT*BUS_SIZE];
unsigned char framebuffer2[BUS_COUNT*BUS_SIZE];
-unsigned char *framebuffer_input = framebuffer1;
-unsigned char *framebuffer_output = framebuffer2;
+volatile unsigned char *framebuffer_input = framebuffer1;
+volatile unsigned char *framebuffer_output = framebuffer2;
unsigned long framebuffer_read(void *data, unsigned long len);
/* Kick off DMA transfer from RAM to SPI interfaces */