summaryrefslogtreecommitdiffstats
path: root/main/epd.c
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2023-09-24 15:32:26 +0800
committerSadeep Madurange <sadeep@asciimx.com>2023-09-24 15:32:26 +0800
commit825705c2993aa3dd69d0966de8f531d48de0b210 (patch)
treec76245f9ca8e724ae02b3ec15d95c639633063ae /main/epd.c
parentcf2092a08775d32b7d874f1090f79228a2f9e2ec (diff)
downloadesp32-e-reader-825705c2993aa3dd69d0966de8f531d48de0b210.tar.gz
Improvements to pdftool and EPD sleep.
Diffstat (limited to 'main/epd.c')
-rw-r--r--main/epd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/epd.c b/main/epd.c
index 4b95b52..7398214 100644
--- a/main/epd.c
+++ b/main/epd.c
@@ -150,6 +150,7 @@ static inline void gpio_init(void)
ESP_ERROR_CHECK(gpio_set_direction(EPD_DC_PIN, GPIO_MODE_OUTPUT));
ESP_ERROR_CHECK(gpio_set_direction(EPD_RST_PIN, GPIO_MODE_OUTPUT));
ESP_ERROR_CHECK(gpio_set_direction(EPD_BUSY_PIN, GPIO_MODE_INPUT));
+ delay_ms(500);
}
static void spi_init(void)