Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
darwin_robot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
humanoides
darwin_robot
Commits
d8e705a7
Commit
d8e705a7
authored
7 years ago
by
Sergi Hernandez
Browse files
Options
Downloads
Patches
Plain Diff
Changed the return level data type.
Removed the inline modifiers because they are no longer needed.
parent
06fb8fa4
No related branches found
No related tags found
1 merge request
!8
Kinetic migration
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
darwin_controller/src/sim/stm32_dyn_master.c
+2
-2
2 additions, 2 deletions
darwin_controller/src/sim/stm32_dyn_master.c
darwin_controller/src/sim/stm32_dyn_master_servos.c
+2
-2
2 additions, 2 deletions
darwin_controller/src/sim/stm32_dyn_master_servos.c
with
4 additions
and
4 deletions
darwin_controller/src/sim/stm32_dyn_master.c
+
2
−
2
View file @
d8e705a7
...
@@ -15,12 +15,12 @@ void dyn_master_set_rx_timeout(TDynamixelMaster *master,unsigned short int timeo
...
@@ -15,12 +15,12 @@ void dyn_master_set_rx_timeout(TDynamixelMaster *master,unsigned short int timeo
master
->
rx_timeout_ms
=
timeout_ms
;
master
->
rx_timeout_ms
=
timeout_ms
;
}
}
inline
void
dyn_master_set_return_level
(
TDynamixelMaster
*
master
,
r
eturn
_l
evel
_t
level
)
void
dyn_master_set_return_level
(
TDynamixelMaster
*
master
,
TR
eturn
L
evel
level
)
{
{
master
->
return_level
=
level
;
master
->
return_level
=
level
;
}
}
inline
r
eturn
_l
evel
_t
dyn_master_get_return_level
(
TDynamixelMaster
*
master
)
TR
eturn
L
evel
dyn_master_get_return_level
(
TDynamixelMaster
*
master
)
{
{
return
master
->
return_level
;
return
master
->
return_level
;
}
}
...
...
This diff is collapsed.
Click to expand it.
darwin_controller/src/sim/stm32_dyn_master_servos.c
+
2
−
2
View file @
d8e705a7
...
@@ -8,12 +8,12 @@ void darwin_dyn_master_init(void)
...
@@ -8,12 +8,12 @@ void darwin_dyn_master_init(void)
darwin_dyn_master
.
version
=
DYN_VER1
;
darwin_dyn_master
.
version
=
DYN_VER1
;
}
}
inline
void
darwin_dyn_master_enable_power
(
void
)
void
darwin_dyn_master_enable_power
(
void
)
{
{
/* do nothing */
/* do nothing */
}
}
inline
void
darwin_dyn_master_disable_power
(
void
)
void
darwin_dyn_master_disable_power
(
void
)
{
{
/* do nothing */
/* do nothing */
}
}
...
...
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