Skip to content

Commit e7b738b

Browse files
committed
Remove "got a message ..."
These debugging messages could mess up json responses.
1 parent f2e7b28 commit e7b738b

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

platforms/CLI-Emulator/main.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ void *startDebuggerCommunication(void *arg) {
121121
uint8_t buffer[1024] = {0};
122122
while (true) {
123123
while ((valread = duplex->read(buffer, 1024)) != -1) {
124-
duplex->write("got a message ... \n", 19);
125124
WARDuino::instance()->handleInterrupt(valread - 1, buffer);
126125
}
127126
}

platforms/ESP-IDF/main.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ void startDebuggerStd(void* pvParameter) {
3939
vTaskDelay(1000 / portTICK_PERIOD_MS);
4040

4141
while ((valread = duplex->read(buffer, 1024)) != -1) {
42-
duplex->write("got a message ... \n", 19);
4342
wac->handleInterrupt(valread - 1, buffer);
4443
}
4544
}

0 commit comments

Comments
 (0)