fix(): Поправлен process fake
This commit is contained in:
parent
665ad56408
commit
cb7cdfc87e
@ -346,6 +346,8 @@ void EthEcatPdoFMMU::process_fake(Allocator& allocator, uint32_t period_microsec
|
||||
ecat_timer.Start();
|
||||
|
||||
while(1) {
|
||||
ecat_timer.Wait();
|
||||
|
||||
#if PROFILE_LEVEL > 0
|
||||
{
|
||||
#warning ( "Profiling for RPDO subscribers is enabled !" )
|
||||
@ -369,8 +371,8 @@ void EthEcatPdoFMMU::process_fake(Allocator& allocator, uint32_t period_microsec
|
||||
}
|
||||
}
|
||||
#else
|
||||
if(callback_ != nullptr) {
|
||||
callback_();
|
||||
if(callback != nullptr) {
|
||||
callback();
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user