From 0412bd5bac6747a635972154843b654e6bc09298 Mon Sep 17 00:00:00 2001 From: Nils Date: Mon, 12 Aug 2024 07:43:57 +0200 Subject: [PATCH] old uncommited changes --- e-paper-project/web_server.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/e-paper-project/web_server.cpp b/e-paper-project/web_server.cpp index cc442fb..5eeacb7 100644 --- a/e-paper-project/web_server.cpp +++ b/e-paper-project/web_server.cpp @@ -29,7 +29,8 @@ static void home_page() static void dir_page() { - uint8_t levels = 0; + // Only lists files and directories in root "/", no recursion into folders... + std::unique_ptr root = SD_card_fs::get_file("/"); if (*root) { @@ -101,6 +102,14 @@ static void handle_file_upload() SD_card_fs::close_file(); send_HTML_page(HTML_data::upload_finished_str); + + epd_spi_pinout pinout{ + + } + EPD_SPI_interface epd_display{} + BMP my_bitmap{filename.c_str()}; + + } else { -- 2.30.2