Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2020-05-28 16:25:42 +0300
committerDavid Crocker <dcrocker@eschertech.com>2020-05-28 16:25:42 +0300
commit4737f3f342f4509b71d6cc7ccda3253455669f1c (patch)
tree55dfa0d1095b09b7d5e40d8e79469409b8873258 /src/Networking/LwipEthernet/LwipEthernetInterface.h
parent3861276167ecf679e66ce0f0a7e02c05ec3f84a8 (diff)
Fixed errors in Duet 3 build
Diffstat (limited to 'src/Networking/LwipEthernet/LwipEthernetInterface.h')
-rw-r--r--src/Networking/LwipEthernet/LwipEthernetInterface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Networking/LwipEthernet/LwipEthernetInterface.h b/src/Networking/LwipEthernet/LwipEthernetInterface.h
index 57594139..42f1397b 100644
--- a/src/Networking/LwipEthernet/LwipEthernetInterface.h
+++ b/src/Networking/LwipEthernet/LwipEthernetInterface.h
@@ -54,7 +54,7 @@ public:
// LwIP interfaces
bool ConnectionEstablished(tcp_pcb *pcb) noexcept;
- void OpenDataPort(Port port) noexcept override;
+ void OpenDataPort(TcpPort port) noexcept override;
void TerminateDataPort() noexcept override;
protected:
@@ -82,7 +82,7 @@ private:
LwipSocket *sockets[NumEthernetSockets];
size_t nextSocketToPoll; // next TCP socket number to poll for read/write operations
- Port portNumbers[NumProtocols]; // port number used for each protocol
+ TcpPort portNumbers[NumProtocols]; // port number used for each protocol
bool protocolEnabled[NumProtocols]; // whether each protocol is enabled
bool closeDataPort;
tcp_pcb *listeningPcbs[NumTcpPorts];