Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
stm32_libraries
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
tools
stm32_libraries
Commits
f6c9528e
Commit
f6c9528e
authored
8 years ago
by
Sergi Hernandez
Browse files
Options
Downloads
Patches
Plain Diff
Reduced the default size of all buffers.
parent
d8c292a0
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dynamixel_base/include/dynamixel_master.h
+2
-2
2 additions, 2 deletions
dynamixel_base/include/dynamixel_master.h
dynamixel_base/src/dynamixel_slave.c
+0
-1
0 additions, 1 deletion
dynamixel_base/src/dynamixel_slave.c
utils/include/buffer.h
+1
-1
1 addition, 1 deletion
utils/include/buffer.h
with
3 additions
and
4 deletions
dynamixel_base/include/dynamixel_master.h
+
2
−
2
View file @
f6c9528e
...
...
@@ -7,11 +7,11 @@
#ifndef MAX_DYN_MASTER_TX_BUFFER_LEN
#define MAX_DYN_MASTER_TX_BUFFER_LEN
1024
#define MAX_DYN_MASTER_TX_BUFFER_LEN
256
#endif
#ifndef MAX_DYN_MASTER_RX_BUFFER_LEN
#define MAX_DYN_MASTER_RX_BUFFER_LEN
1024
#define MAX_DYN_MASTER_RX_BUFFER_LEN
256
#endif
typedef
struct
...
...
This diff is collapsed.
Click to expand it.
dynamixel_base/src/dynamixel_slave.c
+
0
−
1
View file @
f6c9528e
...
...
@@ -131,7 +131,6 @@ unsigned char dummy_dyn_slave_on_relay(TDynVersion version,unsigned char *inst_p
return
DYN_NO_DEVICE
;
}
void
dyn_slave_send_status_packet
(
TDynamixelSlave
*
slave
,
unsigned
char
error
,
unsigned
short
int
length
,
unsigned
char
*
data
)
{
// wait until the previous transmission has ended (if any)
...
...
This diff is collapsed.
Click to expand it.
utils/include/buffer.h
+
1
−
1
View file @
f6c9528e
...
...
@@ -8,7 +8,7 @@
* \brief Size of the buffer in bytes
*
*/
#define MAX_BUFFER_LENGTH
512
#define MAX_BUFFER_LENGTH
256
#endif
/**
...
...
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