diff --git a/ESP32/main.ino b/ESP32/main.ino index 275b70d..cf8f4fb 100644 --- a/ESP32/main.ino +++ b/ESP32/main.ino @@ -153,10 +153,10 @@ std::optional, std::vector c->flush_input(); - std::string selected_file = c->read_line("Enter filename: "); + std::string selected_file = c->read_line("Enter filename (or empty to abort): "); if (selected_file.empty()) - continue; + return { }; auto disk_type = select_disk_type(c);