Skip to content

Commit

Permalink
on ESP32, paths always start with /
Browse files Browse the repository at this point in the history
  • Loading branch information
folkertvanheusden committed May 20, 2024
1 parent 7b8abd4 commit f6d8927
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions debugger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f6d8927

Please sign in to comment.