mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-08-24 07:38:27 +08:00
Fixed missing up().
This commit is contained in:
@@ -1263,6 +1263,7 @@ int ecrt_master_activate(ec_master_t *master)
|
||||
domain_offset = 0;
|
||||
list_for_each_entry(domain, &master->domains, list) {
|
||||
if (ec_domain_finish(domain, domain_offset)) {
|
||||
up(&master->master_sem);
|
||||
EC_ERR("Failed to finish domain 0x%08X!\n", (u32) domain);
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user