Skip to content

Commit

Permalink
lx200zeq driver had incorrect pulse commands; iOptron requires 5 digi… (
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonsousa authored Sep 22, 2024
1 parent a013edf commit 95ab87f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/telescope/lx200zeq25.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1360,16 +1360,16 @@ int LX200ZEQ25::SendPulseCmd(int8_t direction, uint32_t duration_msec)
switch (direction)
{
case LX200_NORTH:
sprintf(cmd, ":Mn%04d#", duration_msec);
sprintf(cmd, ":Mn%05d#", duration_msec);
break;
case LX200_SOUTH:
sprintf(cmd, ":Ms%04d#", duration_msec);
sprintf(cmd, ":Ms%05d#", duration_msec);
break;
case LX200_EAST:
sprintf(cmd, ":Me%04d#", duration_msec);
sprintf(cmd, ":Me%05d#", duration_msec);
break;
case LX200_WEST:
sprintf(cmd, ":Mw%04d#", duration_msec);
sprintf(cmd, ":Mw%05d#", duration_msec);
break;
default:
return 1;
Expand Down

0 comments on commit 95ab87f

Please sign in to comment.