Skip to content

Commit

Permalink
critical bug regarding calling control table fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan-JHShim committed Jun 21, 2019
1 parent 1404807 commit db1cc18
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 db1cc18

Please sign in to comment.