diff options
author | David Crocker <dcrocker@eschertech.com> | 2018-02-28 19:37:07 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2018-02-28 19:45:25 +0300 |
commit | fa55cdada75c00cac180e26a31e151ed18093abd (patch) | |
tree | 282a59f5bdc524a8e3a8214b64b77cbb440a14b9 /src/Networking/LwipEthernet | |
parent | 3b2c5340e1b8a399335c0e2b0dbe68aff55ec168 (diff) |
Version 1.21RC3
Upgrade notes:
- On Cartesian and CoreXY printers, normal G0 and G1 moves are no longer
allowed before the corresponding axes have been homed. In particular, if
your homex.g, homey.g and homeall.g files raise Z a little at the start
and lower it at the end, you will need to add the S2 parameter to those
G1 Z moves. Otherwise the G1 Z move will be refused unless Z has already
been homed and the homing macro will be terminated.
New features:
- On Cartesian and CoreXY printers, normal movement commands are no
longer permitted until the corresponding axes have been homed
- Illegal movement commands in a print file or macro file cause the file
to be terminated and heaters/spindle motors/lasers to be turned off;
except that when the printer is in FDM mode, G0 and G1 moves outside the
movement limits are just truncated as before
- The M39 command reports the SD card cluster size
- If GCode attempts to set the temperature of a non-existent bed or
chamber heater to zero (to turn it off), the error message that would
normally be generated is suppressed
- G60 command to set a restore point is implemented
- M671 command now supports the F (fudge factor) parameter
- The standstill current fraction can now be set on the Duet Maestro
build
- M118 support added (thanks chrishamm)
- When using external stepper drivers the DIR signal is no longer
changed before the step pulse has ended
- The M452, M453 and M573 commands now support the I1 parameter to
invert the laser, spindle or extrusion signal polarity
Bug fixes
- Duet Ethernet only: fixed bugs in the DHCP client code that could
cause the printer to become very slow
- G2 and G3 arc moves are terminated if the attempt to exceed the axis
limits
- When multi-touch Z probe mode is enabled, the recovery time is applied
before all probing movements, not just the first one
- Z probe mode 9 (for BLTouch) ow works in multi-touch mode
- During simulation the status is set to "Simulating" instead of
"Printing"
- M556 with a zero S parameter no longer messes up the coordinate
calculations
- When large files were uploaded or copied to the SD card and the
cluster size was small, HTTP requests could time out while DWC attempted
to get the information for those files
- The Duet3D rotating magnet filament monitor is supported again
- FTP didn't work reliable in 1.21RC2
- Endstops 5 thru 9 on a DueX2/DueX5 board can now be used for simple
filament sensors
- When resuming a paused print the first move executed was sometimes
incorrect
Diffstat (limited to 'src/Networking/LwipEthernet')
-rw-r--r-- | src/Networking/LwipEthernet/LwipEthernetInterface.cpp | 11 | ||||
-rw-r--r-- | src/Networking/LwipEthernet/LwipEthernetInterface.h | 5 |
2 files changed, 2 insertions, 14 deletions
diff --git a/src/Networking/LwipEthernet/LwipEthernetInterface.cpp b/src/Networking/LwipEthernet/LwipEthernetInterface.cpp index 9d129ecd..c203cf28 100644 --- a/src/Networking/LwipEthernet/LwipEthernetInterface.cpp +++ b/src/Networking/LwipEthernet/LwipEthernetInterface.cpp @@ -657,17 +657,6 @@ void LwipEthernetInterface::TerminateDataPort() } } -// Stop listening on a port -void LwipEthernetInterface::DataPortClosing() -{ - // This is currently called only for the FTP data port - if (listeningPcbs[NumProtocols] != nullptr) - { - tcp_close(listeningPcbs[NumProtocols]); - listeningPcbs[NumProtocols] = nullptr; - } -} - void LwipEthernetInterface::InitSockets() { for (size_t i = 0; i < NumProtocols; ++i) diff --git a/src/Networking/LwipEthernet/LwipEthernetInterface.h b/src/Networking/LwipEthernet/LwipEthernetInterface.h index c816e573..6acdfae1 100644 --- a/src/Networking/LwipEthernet/LwipEthernetInterface.h +++ b/src/Networking/LwipEthernet/LwipEthernetInterface.h @@ -36,8 +36,6 @@ public: void Spin(bool full) override; void Interrupt() override; void Diagnostics(MessageType mtype) override; - void Start() override; - void Stop() override; GCodeResult EnableInterface(int mode, const StringRef& ssid, const StringRef& reply) override; // enable or disable the network GCodeResult EnableProtocol(NetworkProtocol protocol, int port, int secure, const StringRef& reply) override; @@ -60,7 +58,6 @@ public: void OpenDataPort(Port port) override; void TerminateDataPort() override; - void DataPortClosing() override; private: enum class NetworkState @@ -73,6 +70,8 @@ private: active // network running }; + void Start(); + void Stop(); void InitSockets(); void TerminateSockets(); |