diff --git a/components/free_rtos/ethernet_ip/eth_udp_server.hpp b/components/free_rtos/ethernet_ip/eth_udp_server.hpp index a04d2ce..b4ce098 100644 --- a/components/free_rtos/ethernet_ip/eth_udp_server.hpp +++ b/components/free_rtos/ethernet_ip/eth_udp_server.hpp @@ -30,7 +30,7 @@ public: virtual uint32_t Sender(uint8_t * p_data, size_t scatter_segment) override; - int32_t select(uint32_t ticks = SystemP_WAIT_FOREVER) + virtual int32_t select(uint32_t ticks = SystemP_WAIT_FOREVER) override { return rx_sem_.pend(ticks); } diff --git a/components/free_rtos/ethernet_ip/eth_udp_server_iface.hpp b/components/free_rtos/ethernet_ip/eth_udp_server_iface.hpp index 6daf92c..11b3a2b 100644 --- a/components/free_rtos/ethernet_ip/eth_udp_server_iface.hpp +++ b/components/free_rtos/ethernet_ip/eth_udp_server_iface.hpp @@ -1,7 +1,7 @@ /* * eth_udp_server_iface.hpp * - * Created on: 15 ìàð. 2023 ã. + * Created on: 15 ���. 2023 �. * Author: sychev */ @@ -19,6 +19,7 @@ namespace free_rtos { class EthUdpServerIface { public: virtual std::shared_ptr createClient(uint16_t port_dst, uint16_t port_src, bool use_chksum) = 0; + virtual int32_t select(uint32_t ticks = SystemP_WAIT_FOREVER) = 0; virtual ~EthUdpServerIface() {}; };