mirror of
https://github.com/nopnop2002/esp-idf-ssd1306.git
synced 2024-10-03 18:18:47 -04:00
Removed unused includes
This commit is contained in:
parent
9a7e992cff
commit
b8e29ade91
@ -6,7 +6,6 @@
|
|||||||
#include "esp_log.h"
|
#include "esp_log.h"
|
||||||
|
|
||||||
#include "ssd1306.h"
|
#include "ssd1306.h"
|
||||||
#include "font8x8_basic.h"
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
You have to set this config value with menuconfig
|
You have to set this config value with menuconfig
|
||||||
@ -235,7 +234,7 @@ void app_main(void)
|
|||||||
ESP_LOGE(TAG, "malloc failed");
|
ESP_LOGE(TAG, "malloc failed");
|
||||||
while(1) { vTaskDelay(1); }
|
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) {
|
if (segmentImage == NULL) {
|
||||||
ESP_LOGE(TAG, "malloc failed");
|
ESP_LOGE(TAG, "malloc failed");
|
||||||
while(1) { vTaskDelay(1); }
|
while(1) { vTaskDelay(1); }
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
#include "esp_log.h"
|
#include "esp_log.h"
|
||||||
|
|
||||||
#include "ssd1306.h"
|
#include "ssd1306.h"
|
||||||
#include "font8x8_basic.h"
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
You have to set this config value with menuconfig
|
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};
|
int imageTable[] = {0, 1, 2, 2, 3, -1, 4, 3, 5, 2, 6};
|
||||||
|
|
||||||
|
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
#include "esp_log.h"
|
#include "esp_log.h"
|
||||||
|
|
||||||
#include "ssd1306.h"
|
#include "ssd1306.h"
|
||||||
#include "font8x8_basic.h"
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
You have to set this config value with menuconfig
|
You have to set this config value with menuconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user