Unverified Commit 5ed1bb67 authored by Bodmer's avatar Bodmer Committed by GitHub

Allow larger images

parent 0dacb156
...@@ -83,7 +83,7 @@ void loop() ...@@ -83,7 +83,7 @@ void loop()
// Draw array "icon" of defined width and height at coordinate x,y // Draw array "icon" of defined width and height at coordinate x,y
// Maximum icon size is 255x255 pixels to avoid integer overflow // Maximum icon size is 255x255 pixels to avoid integer overflow
void drawIcon(const unsigned short* icon, int16_t x, int16_t y, int8_t width, int8_t height) { void drawIcon(const unsigned short* icon, int16_t x, int16_t y, uint16_t width, uint16_t height) {
uint16_t pix_buffer[BUFF_SIZE]; // Pixel buffer (16 bits per pixel) uint16_t pix_buffer[BUFF_SIZE]; // Pixel buffer (16 bits per pixel)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment