From a5984050eb556741ef40792d6335b7f65fa1eb4f Mon Sep 17 00:00:00 2001 From: Brett Weiland Date: Tue, 24 Jan 2023 14:58:52 -0600 Subject: started fixing makefile, created test function --- src/paint.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/paint.c') diff --git a/src/paint.c b/src/paint.c index 6a2b741..71d93cd 100644 --- a/src/paint.c +++ b/src/paint.c @@ -1,3 +1,4 @@ +#include #include #include "ssd1306_display_driver.h" #include "paint.h" @@ -19,6 +20,7 @@ void screen_clear() { memset(&screen_buffer, 0, sizeof(screen_buffer)); } + //images are optimized to follow page formatting void draw_image(EEPROM_ADDR image) { for(int on_pix = 0; on_pix < (SCREEN_RES_X * SCREEN_RES_Y) / 8; on_pix++) -- cgit v1.2.3