summaryrefslogtreecommitdiff
path: root/src/paint.c
diff options
context:
space:
mode:
authorBrett Weiland <brett_weiland@bpcsapce.com>2023-01-24 14:58:52 -0600
committerBrett Weiland <brett_weiland@bpcsapce.com>2023-01-24 14:58:52 -0600
commita5984050eb556741ef40792d6335b7f65fa1eb4f (patch)
treeaaf870b1558d6b40369f481443c4ce768f9b76be /src/paint.c
parentb666668d0e6b67e4632e65486cae814ab5abbc39 (diff)
started fixing makefile, created test function
Diffstat (limited to 'src/paint.c')
-rw-r--r--src/paint.c2
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++)