From f6d8927d23b75734515fbc42d9d35df0790df135 Mon Sep 17 00:00:00 2001 From: folkert van heusden Date: Mon, 20 May 2024 20:36:17 +0200 Subject: [PATCH] on ESP32, paths always start with / --- debugger.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debugger.cpp b/debugger.cpp index 807aee2..962be00 100644 --- a/debugger.cpp +++ b/debugger.cpp @@ -693,7 +693,11 @@ void serdc11(console *const cnsl, bus *const b) void deserdc11(console *const cnsl, bus *const b) { +#if defined(ESP32) + auto rc = deserialize_file("/" SERIAL_CFG_FILE); +#else auto rc = deserialize_file(SERIAL_CFG_FILE); +#endif if (rc.has_value() == false) { cnsl->put_string_lf("Failed to deserialize " SERIAL_CFG_FILE); return;