diff options
author | David Crocker <dcrocker@eschertech.com> | 2020-05-28 16:25:42 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2020-05-28 16:25:42 +0300 |
commit | 4737f3f342f4509b71d6cc7ccda3253455669f1c (patch) | |
tree | 55dfa0d1095b09b7d5e40d8e79469409b8873258 /src/Networking/LwipEthernet/LwipEthernetInterface.h | |
parent | 3861276167ecf679e66ce0f0a7e02c05ec3f84a8 (diff) |
Fixed errors in Duet 3 build
Diffstat (limited to 'src/Networking/LwipEthernet/LwipEthernetInterface.h')
-rw-r--r-- | src/Networking/LwipEthernet/LwipEthernetInterface.h | 4 |
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]; |