dev(SF-317): Удалены исключения
This commit is contained in:
parent
0dc8e66455
commit
256499f7b4
@ -307,13 +307,8 @@ void EthEcatPdoFMMU::process(Allocator& allocator) {
|
|||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
if(callback_ != nullptr) {
|
if(callback_ != nullptr) {
|
||||||
try {
|
|
||||||
callback_();
|
callback_();
|
||||||
}
|
}
|
||||||
catch(std::exception& e) {
|
|
||||||
DebugP_log((char*)"EthEcatPdoFMMU::process(). Callback exception caught: %s\r\n", e.what());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if PROFILE_LEVEL > 0
|
#if PROFILE_LEVEL > 0
|
||||||
@ -377,13 +372,8 @@ void EthEcatPdoFMMU::process_fake(Allocator& allocator, uint32_t period_microsec
|
|||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
if(callback != nullptr) {
|
if(callback != nullptr) {
|
||||||
try {
|
|
||||||
callback();
|
callback();
|
||||||
}
|
}
|
||||||
catch(std::exception& e) {
|
|
||||||
DebugP_log((char*)"EthEcatPdoFMMU::process(). Callback exception caught: %s\r\n", e.what());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if PROFILE_LEVEL > 0
|
#if PROFILE_LEVEL > 0
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user