Skip to content
Snippets Groups Projects
Commit bc418697 authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Added a function to get the internal slave device memory module.

parent 746f8eef
No related branches found
No related tags found
1 merge request!7Multi slave
...@@ -154,6 +154,10 @@ unsigned char dyn_v1_slave_loop(TDynamixelSlaveDevice *device,unsigned char *rx_ ...@@ -154,6 +154,10 @@ unsigned char dyn_v1_slave_loop(TDynamixelSlaveDevice *device,unsigned char *rx_
* *
*/ */
unsigned char dyn_v2_slave_loop(TDynamixelSlaveDevice *device,unsigned char *rx_buffer,unsigned char *error,unsigned short int *length, unsigned char *data); unsigned char dyn_v2_slave_loop(TDynamixelSlaveDevice *device,unsigned char *rx_buffer,unsigned char *error,unsigned short int *length, unsigned char *data);
/**
* \brief
*
*/
inline TMemory *dyn_slave_device_get_memory(TDynamixelSlaveDevice *device);
#endif #endif
...@@ -448,3 +448,8 @@ return_level_t dyn_slave_device_get_return_level(TDynamixelSlaveDevice *device) ...@@ -448,3 +448,8 @@ return_level_t dyn_slave_device_get_return_level(TDynamixelSlaveDevice *device)
else else
return return_all; return return_all;
} }
TMemory *dyn_slave_device_get_memory(TDynamixelSlaveDevice *device)
{
return &device->memory;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment