diff options
Diffstat (limited to 'src/paint.c')
-rw-r--r-- | src/paint.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <stdio.h> #include <string.h> #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++) |