Skip to content

Commit

Permalink
Fix error output
Browse files Browse the repository at this point in the history
  • Loading branch information
justcallmekoko committed Oct 18, 2023
1 parent ab62f0f commit bea6978
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions esp32_marauder/EvilPortal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ bool EvilPortal::setHtml() {
File html_file = sd_obj.getFile("/" + this->target_html_name);
if (!html_file) {
#ifdef HAS_SCREEN
this->sendToDisplay("Could not find /index.html.");
this->sendToDisplay("Could not find /" + this->target_html_name);
this->sendToDisplay("Touch to exit...");
#endif
Serial.println("Could not find /index.html. Use stopscan...");
Serial.println("Could not find /" + this->target_html_name + ". Use stopscan...");
return false;
}
else {
Expand Down

0 comments on commit bea6978

Please sign in to comment.