diff options
author | David Crocker <dcrocker@eschertech.com> | 2019-06-07 18:15:50 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2019-06-07 18:15:50 +0300 |
commit | c62b3864f0a95b3a5975dda210588268741515eb (patch) | |
tree | 1fac1cf644954381a7b11527b02ba65b082b5946 /src/Networking/TelnetResponder.cpp | |
parent | af1222fc7ba0aab1e412e6fdd6a4209b87f87ae0 (diff) |
Added support for triggers
Added support for M577, M581, M582
Clear out HTTP and Telnet clients when disabling networking
Moved hardware-dependent step functions to Pins_xxx.h files
Diffstat (limited to 'src/Networking/TelnetResponder.cpp')
-rw-r--r-- | src/Networking/TelnetResponder.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Networking/TelnetResponder.cpp b/src/Networking/TelnetResponder.cpp index 8d23f491..7fc01310 100644 --- a/src/Networking/TelnetResponder.cpp +++ b/src/Networking/TelnetResponder.cpp @@ -301,6 +301,9 @@ void TelnetResponder::ProcessLine() /*static*/ void TelnetResponder::Disable() { MutexLocker lock(gcodeReplyMutex); + + clientsServed = 0; + numSessions = 0; OutputBuffer::ReleaseAll(gcodeReply); } |