Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/RemoteDebug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ bool RemoteDebug::begin(String hostName, uint16_t port, uint8_t startingDebugLe
if (port != TELNET_PORT) { // Bug: not more can use begin(port)..
return false;
}

TelnetServer.begin();
TelnetServer.setNoDelay(true);

Expand Down Expand Up @@ -1517,7 +1517,7 @@ void RemoteDebug::processCommand() {
// Send status to app

if (_connectedWS) {
DebugWS.printf("$app:M:%lu:\n", free);
DebugWS.printf("$app:M:%du:\n", free);
}

#endif
Expand Down Expand Up @@ -1928,7 +1928,7 @@ void RemoteDebug::wsSendInfo() {
#endif

DebugWS.println(); // Workaround to not get dirty "[0m" ???
DebugWS.printf("$app:V:%s:%s:%c:%lu:%c:N\n", version.c_str(), board.c_str(), features, getFreeMemory(), dbgEnabled);
DebugWS.printf("$app:V:%s:%s:%c:%du:%c:N\n", version.c_str(), board.c_str(), features, getFreeMemory(), dbgEnabled);

// Status of debug level

Expand Down
4 changes: 2 additions & 2 deletions src/RemoteDebugWS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@ RemoteDebugWS::~RemoteDebugWS() {

void webSocketEvent(uint8_t num, WStype_t type, uint8_t * payload, size_t payloadlength) { // When a WebSocket message is received

int blk_count = 0;
char ipaddr[26];
// int blk_count = 0;
// char ipaddr[26];
IPAddress localip;

switch (type) {
Expand Down