mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-09-24 02:53:57 +08:00
Master workqueue replaced with kernel thread.
This commit is contained in:
+5
-1
@@ -372,7 +372,11 @@ int ecdev_open(ec_device_t *device /**< EtherCAT device */)
|
||||
return -1;
|
||||
}
|
||||
|
||||
ec_master_enter_idle_mode(device->master);
|
||||
if (ec_master_enter_idle_mode(device->master)) {
|
||||
EC_ERR("Failed to enter idle mode!\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user