From 256499f7b46796dcc5610ccb156dcf03f5776583 Mon Sep 17 00:00:00 2001 From: algin Date: Wed, 3 Jul 2024 11:22:00 +0300 Subject: [PATCH] =?UTF-8?q?dev(SF-317):=20=D0=A3=D0=B4=D0=B0=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D1=8B=20=D0=B8=D1=81=D0=BA=D0=BB=D1=8E=D1=87=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ethernet_industry/CoE/eth_ecat_pdo_fmmu.hpp | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/components/free_rtos/ethernet_industry/CoE/eth_ecat_pdo_fmmu.hpp b/components/free_rtos/ethernet_industry/CoE/eth_ecat_pdo_fmmu.hpp index 8380ef7..8b887c8 100644 --- a/components/free_rtos/ethernet_industry/CoE/eth_ecat_pdo_fmmu.hpp +++ b/components/free_rtos/ethernet_industry/CoE/eth_ecat_pdo_fmmu.hpp @@ -307,12 +307,7 @@ void EthEcatPdoFMMU::process(Allocator& allocator) { } #else if(callback_ != nullptr) { - try { - callback_(); - } - catch(std::exception& e) { - DebugP_log((char*)"EthEcatPdoFMMU::process(). Callback exception caught: %s\r\n", e.what()); - } + callback_(); } #endif @@ -377,12 +372,7 @@ void EthEcatPdoFMMU::process_fake(Allocator& allocator, uint32_t period_microsec } #else if(callback != nullptr) { - try { - callback(); - } - catch(std::exception& e) { - DebugP_log((char*)"EthEcatPdoFMMU::process(). Callback exception caught: %s\r\n", e.what()); - } + callback(); } #endif