From af729b0bb1eccfaf6ff1a248f325d83fdf88a9b6 Mon Sep 17 00:00:00 2001 From: algin Date: Wed, 26 Jun 2024 15:53:59 +0300 Subject: [PATCH] =?UTF-8?q?refactor():=20=D0=A3=D0=B4=D0=B0=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D1=8B=20=D0=B1=D0=B8=D1=82=D1=8B=D0=B5=20=D0=BA=D0=BE?= =?UTF-8?q?=D0=BC=D0=BC=D0=B5=D0=BD=D1=82=D0=B0=D1=80=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/free_rtos/ethernet/eth_tx_flow.cpp | 1 - components/free_rtos/ethernet_ip/eth_udp_server.cpp | 2 -- components/free_rtos/timer/timer.cpp | 1 + 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/components/free_rtos/ethernet/eth_tx_flow.cpp b/components/free_rtos/ethernet/eth_tx_flow.cpp index 9ebe304..013be5f 100644 --- a/components/free_rtos/ethernet/eth_tx_flow.cpp +++ b/components/free_rtos/ethernet/eth_tx_flow.cpp @@ -29,7 +29,6 @@ static void eth_initTxFreePktQ(void * appPriv, EnetDma_PktQ * p_packet_queue, ui /* Initialize TX EthPkts and queue them to txFreePktInfoQ */ for (i = 0U; i < qCount; i++) { - /// �������� ������ pPktInfo = EnetMem_allocEthPkt(appPriv, ENET_MEM_LARGE_POOL_PKT_SIZE, ENETDMA_CACHELINE_ALIGNMENT); diff --git a/components/free_rtos/ethernet_ip/eth_udp_server.cpp b/components/free_rtos/ethernet_ip/eth_udp_server.cpp index e0eb4f4..dad629a 100644 --- a/components/free_rtos/ethernet_ip/eth_udp_server.cpp +++ b/components/free_rtos/ethernet_ip/eth_udp_server.cpp @@ -24,7 +24,6 @@ std::shared_ptr free_rtos::EthUdpServer::createClient(u port_dst = BASE_SWAP16(port_dst); port_src = BASE_SWAP16(port_src); - /// ������ ��� ��������������� �� ���� ���� if (connections_.count(port_dst)) { return nullptr; } @@ -53,7 +52,6 @@ int32_t free_rtos::EthUdpServer::Process(uint8_t * p_data, uint32_t len) auto item = connections_.find(port); - /// ����� ���� �� ��������������� if (item == connections_.end()) { //EnetAppUtils_print("EthUdpServer::Process(): Port not found %d\r\n", port); diff --git a/components/free_rtos/timer/timer.cpp b/components/free_rtos/timer/timer.cpp index 4d291a3..c299a63 100644 --- a/components/free_rtos/timer/timer.cpp +++ b/components/free_rtos/timer/timer.cpp @@ -55,6 +55,7 @@ bool free_rtos::Timer::Init(Settings& sett) timerHwiParams.callback = free_rtos::timer_isr_callback; timerHwiParams.args = (void*)this; timerHwiParams.isPulse = 0; + timerHwiParams.isFIQ = 0; timerHwiParams.priority = sett.int_priority; status = HwiP_construct(&hwi_obj_, &timerHwiParams);