From b8e29ade9180f8cf7f757e237d8db7424608a2db Mon Sep 17 00:00:00 2001 From: nopnop2002 Date: Sat, 19 Nov 2022 08:07:43 +0900 Subject: [PATCH] Removed unused includes --- CounterDemo/main/main.c | 3 +-- ImageScrollDemo/main/main.c | 3 +-- ScrollCounterDemo/main/main.c | 1 - 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/CounterDemo/main/main.c b/CounterDemo/main/main.c index e4900df..d7bc1e4 100644 --- a/CounterDemo/main/main.c +++ b/CounterDemo/main/main.c @@ -6,7 +6,6 @@ #include "esp_log.h" #include "ssd1306.h" -#include "font8x8_basic.h" /* You have to set this config value with menuconfig @@ -235,7 +234,7 @@ void app_main(void) ESP_LOGE(TAG, "malloc failed"); while(1) { vTaskDelay(1); } } - uint8_t *segmentImage = (uint8_t *)malloc(IMAGES*8*32); // 10 image 8 page 32pixel + uint8_t *segmentImage = (uint8_t *)malloc(IMAGES*8*32); // 10 image 8 page 32 pixel if (segmentImage == NULL) { ESP_LOGE(TAG, "malloc failed"); while(1) { vTaskDelay(1); } diff --git a/ImageScrollDemo/main/main.c b/ImageScrollDemo/main/main.c index ec6e41f..30ce732 100644 --- a/ImageScrollDemo/main/main.c +++ b/ImageScrollDemo/main/main.c @@ -6,7 +6,6 @@ #include "esp_log.h" #include "ssd1306.h" -#include "font8x8_basic.h" /* You have to set this config value with menuconfig @@ -226,7 +225,7 @@ uint8_t segmentDisplay[NUM_IMAGES][BITMAPS] = { } }; -// H E L L O SP W O R L D +// H E L L O SP W O R L D int imageTable[] = {0, 1, 2, 2, 3, -1, 4, 3, 5, 2, 6}; diff --git a/ScrollCounterDemo/main/main.c b/ScrollCounterDemo/main/main.c index 72719b9..b0f1738 100644 --- a/ScrollCounterDemo/main/main.c +++ b/ScrollCounterDemo/main/main.c @@ -6,7 +6,6 @@ #include "esp_log.h" #include "ssd1306.h" -#include "font8x8_basic.h" /* You have to set this config value with menuconfig