Compare commits

..

2 Commits

2 changed files with 2 additions and 3 deletions

View File

@ -247,7 +247,7 @@ void Debug_ShowDTCs()
else else
strcpy(buff_active, "none"); strcpy(buff_active, "none");
Debug_pushMessage("%s \t %6d \t %s", buff_timestamp, DTCStorage[i].Number, buff_active); Debug_pushMessage("%s \t %6d \t %s \t %d", buff_timestamp, DTCStorage[i].Number, buff_active, DTCStorage[i].severity);
} }
} }
} }

View File

@ -256,7 +256,7 @@ void WebserverPOST_Callback(AsyncWebServerRequest *request)
{ {
request->send(LittleFS, "/post.htm", "text/html", false, processor); request->send(LittleFS, "/post.htm", "text/html", false, processor);
Serial.print("POST:\n"); Debug_pushMessage("POST:\n");
int paramsNr = request->params(); int paramsNr = request->params();
for (int i = 0; i < paramsNr; i++) for (int i = 0; i < paramsNr; i++)
{ {
@ -552,7 +552,6 @@ void Websocket_HandleMessage(void *arg, uint8_t *data, size_t len)
if (strcmp((char *)data, "start") == 0) if (strcmp((char *)data, "start") == 0)
{ {
SetDebugportStatus(dbg_Webui, enabled); SetDebugportStatus(dbg_Webui, enabled);
Debug_ShowDTCs();
} }
else if (strcmp((char *)data, "stop") == 0) else if (strcmp((char *)data, "stop") == 0)
{ {