Skip to content

Commit

Permalink
Merge pull request #186 from ROBOTIS-GIT/hotfix
Browse files Browse the repository at this point in the history
critical bug regarding calling control table fixed
  • Loading branch information
JaehyunShim authored Jun 21, 2019
2 parents 1404807 + db1cc18 commit 139fda9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1301,7 +1301,7 @@ const ControlItem *DynamixelItem::getControlTable(uint16_t model_number)
control_table = items_XL320;
the_number_of_item = COUNT_XL320_ITEMS;
}
else if (num == XL430_W250 || XL430_W250_2 || XC430_W150 || XC430_W240)
else if (num == XL430_W250 || num == XL430_W250_2 || num == XC430_W150 || num == XC430_W240)
{
control_table = items_XL;
the_number_of_item = COUNT_XL_ITEMS;
Expand Down Expand Up @@ -1407,7 +1407,7 @@ const ModelInfo *DynamixelItem::getModelInfo(uint16_t model_number)
{
info = &info_XL320;
}
else if (num == XL430_W250 || XL430_W250_2 || XC430_W150 || XC430_W240)
else if (num == XL430_W250 || num == XL430_W250_2 || num == XC430_W150 || num == XC430_W240)
{
info = &info_XL;
}
Expand Down

0 comments on commit 139fda9

Please sign in to comment.