Skip to content

Commit

Permalink
kins_util.c test fix 4.14.148-rtai-amd64 prob
Browse files Browse the repository at this point in the history
  • Loading branch information
dngarrett committed Mar 7, 2020
1 parent af42e7c commit ef6f36a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/emc/kinematics/kins_util.c
Expand Up @@ -28,9 +28,12 @@ int map_coordinates_to_jnumbers(char *coordinates,
char* errtag="map_coordinates_to_jnumbers: ERROR:\n ";
int jno=0;
int found=0;
int dups[EMCMOT_MAX_AXIS] = {0};
int dups[EMCMOT_MAX_AXIS];
char *coords = coordinates;
char coord_letter[] = {'X','Y','Z','A','B','C','U','V','W'};
int i;

for (i=0; i<EMCMOT_MAX_AXIS; i++) {dups[i] = 0;}

if ( (max_joints <= 0) || (max_joints > EMCMOT_MAX_JOINTS) ) {
rtapi_print_msg(RTAPI_MSG_ERR,"%s bogus max_joints=%d\n",
Expand Down

0 comments on commit ef6f36a

Please sign in to comment.