projects
/
e-paper-project.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da6cac3
)
old uncommited changes
author
Nils
<forssennils@gmail.com>
Mon, 12 Aug 2024 05:43:57 +0000
(07:43 +0200)
committer
Nils
<forssennils@gmail.com>
Mon, 12 Aug 2024 05:43:57 +0000
(07:43 +0200)
e-paper-project/web_server.cpp
patch
|
blob
|
history
diff --git
a/e-paper-project/web_server.cpp
b/e-paper-project/web_server.cpp
index cc442fb41a2d86487e93cb5410bf7eb869e32a48..5eeacb7fe5ec0f01ae5703df65279fabdfa263b6 100644
(file)
--- 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<File> 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
{