Actually don't run ecat-slv_poll()
This commit is contained in:
1 parent
e95a098367
commit
ddffbe5f8b
1 file changed
+3
-2
@@ -125,8 +125,9 @@ void loop(void)
|
|||||||
serveIRQ = 0;
|
serveIRQ = 0;
|
||||||
ESCvar.PrevTime = ESCvar.Time;
|
ESCvar.PrevTime = ESCvar.Time;
|
||||||
}
|
}
|
||||||
if (nowTime < 500 || nowTime > 1500) // Don't run ecat_slv_poll when expecting to server interrupt
|
uint64_t superNow=micros();
|
||||||
ecat_slv_poll();
|
if (superNow - nowTime < 500 || superNow - nowTime > 1500) // Don't run ecat_slv_poll when expecting to server interrupt
|
||||||
|
ecat_slv_poll();
|
||||||
}
|
}
|
||||||
|
|
||||||
void sync0Handler(void)
|
void sync0Handler(void)
|
||||||
|
|||||||
Reference in new issue
Block a user