Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
etherlabmaster
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ICS Control System Infrastructure
etherlabmaster
Commits
1a487c4e
Commit
1a487c4e
authored
18 years ago
by
Florian Pose
Browse files
Options
Downloads
Patches
Plain Diff
Removed faulty polling before device->open().
parent
4af320c5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
master/device.c
+0
-5
0 additions, 5 deletions
master/device.c
with
0 additions
and
5 deletions
master/device.c
+
0
−
5
View file @
1a487c4e
...
...
@@ -156,8 +156,6 @@ void ec_device_detach(ec_device_t *device /**< EtherCAT device */)
int
ec_device_open
(
ec_device_t
*
device
/**< EtherCAT device */
)
{
unsigned
int
i
;
if
(
!
device
->
dev
)
{
EC_ERR
(
"No net_device to open!
\n
"
);
return
-
1
;
...
...
@@ -168,9 +166,6 @@ int ec_device_open(ec_device_t *device /**< EtherCAT device */)
return
0
;
}
// device could have received frames before
for
(
i
=
0
;
i
<
4
;
i
++
)
ec_device_poll
(
device
);
device
->
link_state
=
0
;
device
->
tx_count
=
0
;
device
->
rx_count
=
0
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment