From 3b4a22bff767e50bc89ba7303db0168a50480c04 Mon Sep 17 00:00:00 2001 From: Marcel Peterkau Date: Fri, 24 Feb 2023 19:28:06 +0100 Subject: [PATCH] corrected some DTC-Stuff --- Software/src/debugger.cpp | 2 +- Software/src/webui.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Software/src/debugger.cpp b/Software/src/debugger.cpp index 2c7c404..859d700 100644 --- a/Software/src/debugger.cpp +++ b/Software/src/debugger.cpp @@ -247,7 +247,7 @@ void Debug_ShowDTCs() else 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); } } } \ No newline at end of file diff --git a/Software/src/webui.cpp b/Software/src/webui.cpp index 5d7c2a8..a5a2946 100644 --- a/Software/src/webui.cpp +++ b/Software/src/webui.cpp @@ -552,7 +552,6 @@ void Websocket_HandleMessage(void *arg, uint8_t *data, size_t len) if (strcmp((char *)data, "start") == 0) { SetDebugportStatus(dbg_Webui, enabled); - Debug_ShowDTCs(); } else if (strcmp((char *)data, "stop") == 0) {