Skip to content
Snippets Groups Projects
Commit 2ad59aea authored by ROBOTIS-zerom's avatar ROBOTIS-zerom
Browse files

GroupBulkRead : GetData function bug fixed.

parent 581ee3d2
No related branches found
No related tags found
No related merge requests found
...@@ -173,11 +173,11 @@ bool GroupBulkRead::IsAvailable(UINT8_T id, UINT16_T address, UINT16_T data_leng ...@@ -173,11 +173,11 @@ bool GroupBulkRead::IsAvailable(UINT8_T id, UINT16_T address, UINT16_T data_leng
UINT32_T GroupBulkRead::GetData(UINT8_T id, UINT16_T address, UINT16_T data_length) UINT32_T GroupBulkRead::GetData(UINT8_T id, UINT16_T address, UINT16_T data_length)
{ {
UINT16_T _start_addr, _data_length;
if(IsAvailable(id, address, data_length) == false) if(IsAvailable(id, address, data_length) == false)
return 0; return 0;
UINT16_T _start_addr = address_list_[id];
switch(data_length) switch(data_length)
{ {
case 1: case 1:
......
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