tries left auf 20 geaendert
This commit is contained in:
parent
cc911c7157
commit
ce81a0c29e
|
|
@ -156,7 +156,7 @@ int EtherCAT_simple_send_receive(EtherCAT_master_t *master,
|
|||
|
||||
EtherCAT_device_call_isr(master->dev);
|
||||
|
||||
tries_left = 100;
|
||||
tries_left = 20;
|
||||
while (master->dev->state == ECAT_DS_SENT && tries_left)
|
||||
{
|
||||
udelay(1);
|
||||
|
|
@ -1052,7 +1052,7 @@ int EtherCAT_read_process_data(EtherCAT_master_t *master)
|
|||
|
||||
EtherCAT_device_call_isr(master->dev);
|
||||
|
||||
tries_left = 100;
|
||||
tries_left = 20;
|
||||
while (master->dev->state == ECAT_DS_SENT && tries_left)
|
||||
{
|
||||
udelay(1);
|
||||
|
|
|
|||
Loading…
Reference in New Issue