mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-09-22 10:03:51 +08:00
Removed ecrt_master_run(), removed datagram queueing from state
machines, added datagram injection, two different master thread functions.
This commit is contained in:
@@ -130,8 +130,6 @@ void run(unsigned long data)
|
||||
ecrt_domain_queue(domain1);
|
||||
spin_unlock(&master_lock);
|
||||
|
||||
ecrt_master_run(master);
|
||||
|
||||
spin_lock(&master_lock);
|
||||
ecrt_master_send(master);
|
||||
spin_unlock(&master_lock);
|
||||
|
||||
@@ -91,7 +91,6 @@ void run(long data)
|
||||
|
||||
rt_sem_wait(&master_sem);
|
||||
ecrt_domain_queue(domain1);
|
||||
ecrt_master_run(master);
|
||||
ecrt_master_send(master);
|
||||
rt_sem_signal(&master_sem);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user