Skip to content
Snippets Groups Projects
Commit 01e01211 authored by Wilhelm Hagemeister's avatar Wilhelm Hagemeister
Browse files

tries left auf 20 geaendert

--HG--
branch : kernel2.6
parent 3a62778f
No related branches found
No related tags found
No related merge requests found
...@@ -156,7 +156,7 @@ int EtherCAT_simple_send_receive(EtherCAT_master_t *master, ...@@ -156,7 +156,7 @@ int EtherCAT_simple_send_receive(EtherCAT_master_t *master,
EtherCAT_device_call_isr(master->dev); EtherCAT_device_call_isr(master->dev);
tries_left = 100; tries_left = 20;
while (master->dev->state == ECAT_DS_SENT && tries_left) while (master->dev->state == ECAT_DS_SENT && tries_left)
{ {
udelay(1); udelay(1);
...@@ -1052,7 +1052,7 @@ int EtherCAT_read_process_data(EtherCAT_master_t *master) ...@@ -1052,7 +1052,7 @@ int EtherCAT_read_process_data(EtherCAT_master_t *master)
EtherCAT_device_call_isr(master->dev); EtherCAT_device_call_isr(master->dev);
tries_left = 100; tries_left = 20;
while (master->dev->state == ECAT_DS_SENT && tries_left) while (master->dev->state == ECAT_DS_SENT && tries_left)
{ {
udelay(1); udelay(1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment