From c52db33312eeb4fff18260ad9daa7e5d74d9e1f2 Mon Sep 17 00:00:00 2001 From: Tony DiCola Date: Fri, 25 Jul 2014 17:51:54 -0700 Subject: [PATCH] Resolve #8 by increasing bmpDraw parameter size to 16 bits. --- examples/spitftbitmap/spitftbitmap.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/spitftbitmap/spitftbitmap.ino b/examples/spitftbitmap/spitftbitmap.ino index 10c4c56..c81e2c0 100644 --- a/examples/spitftbitmap/spitftbitmap.ino +++ b/examples/spitftbitmap/spitftbitmap.ino @@ -65,7 +65,7 @@ void loop() { #define BUFFPIXEL 20 -void bmpDraw(char *filename, uint8_t x, uint8_t y) { +void bmpDraw(char *filename, uint16_t x, uint16_t y) { File bmpFile; int bmpWidth, bmpHeight; // W+H in pixels