dev(SF-317): Удалены исключения

This commit is contained in:
algin 2024-07-03 11:22:00 +03:00
parent 0dc8e66455
commit 256499f7b4

View File

@ -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