You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The D48E responds to the 'C' query control mode with an uppercase 'P' or 'I', but the driver.cpp compares to lowercase, resulting in an error returning (-1) :
if (buffer[2] == 'p')
return PTU_VELOCITY;
else if (buffer[2] == 'i')
return PTU_POSITION;
This could be fixed like this:
(buffer[2] == 'p' || buffer[2] == 'P' )
(buffer[2] == 'i' || buffer[2] == 'I' )
The text was updated successfully, but these errors were encountered:
EASY FIX: compare to uppercase
The D48E responds to the 'C' query control mode with an uppercase 'P' or 'I', but the driver.cpp compares to lowercase, resulting in an error returning (-1) :
if (buffer[2] == 'p')
return PTU_VELOCITY;
else if (buffer[2] == 'i')
return PTU_POSITION;
This could be fixed like this:
(buffer[2] == 'p' || buffer[2] == 'P' )
(buffer[2] == 'i' || buffer[2] == 'I' )
The text was updated successfully, but these errors were encountered: