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
bb98270a
Commit
bb98270a
authored
18 years ago
by
Florian Pose
Browse files
Options
Downloads
Patches
Plain Diff
Added clear function for SDO kobject.
parent
a0491c2a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
master/slave.c
+13
-1
13 additions, 1 deletion
master/slave.c
with
13 additions
and
1 deletion
master/slave.c
+
13
−
1
View file @
bb98270a
...
@@ -53,6 +53,7 @@ extern const ec_code_msg_t al_status_messages[];
...
@@ -53,6 +53,7 @@ extern const ec_code_msg_t al_status_messages[];
/*****************************************************************************/
/*****************************************************************************/
void
ec_slave_clear
(
struct
kobject
*
);
void
ec_slave_clear
(
struct
kobject
*
);
void
ec_slave_sdos_clear
(
struct
kobject
*
);
ssize_t
ec_show_slave_attribute
(
struct
kobject
*
,
struct
attribute
*
,
char
*
);
ssize_t
ec_show_slave_attribute
(
struct
kobject
*
,
struct
attribute
*
,
char
*
);
ssize_t
ec_store_slave_attribute
(
struct
kobject
*
,
struct
attribute
*
,
ssize_t
ec_store_slave_attribute
(
struct
kobject
*
,
struct
attribute
*
,
const
char
*
,
size_t
);
const
char
*
,
size_t
);
...
@@ -83,7 +84,9 @@ static struct kobj_type ktype_ec_slave = {
...
@@ -83,7 +84,9 @@ static struct kobj_type ktype_ec_slave = {
.
default_attrs
=
def_attrs
.
default_attrs
=
def_attrs
};
};
static
struct
kobj_type
ktype_ec_slave_sdos
=
{};
static
struct
kobj_type
ktype_ec_slave_sdos
=
{
.
release
=
ec_slave_sdos_clear
};
/** \endcond */
/** \endcond */
...
@@ -277,6 +280,15 @@ void ec_slave_clear(struct kobject *kobj /**< kobject of the slave */)
...
@@ -277,6 +280,15 @@ void ec_slave_clear(struct kobject *kobj /**< kobject of the slave */)
/*****************************************************************************/
/*****************************************************************************/
/**
*/
void
ec_slave_sdos_clear
(
struct
kobject
*
kobj
/**< kobject for SDOs */
)
{
}
/*****************************************************************************/
/**
/**
Reset slave from operation mode.
Reset slave from operation mode.
*/
*/
...
...
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