Skip to content

Commit

Permalink
Update ieaffocus.cpp
Browse files Browse the repository at this point in the history
add iOptron iAFS focuser support
  • Loading branch information
joe13905179063 authored Oct 25, 2024
1 parent d4c96d8 commit 194f260
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/focuser/ieaffocus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ bool iEAFFocus::Ack()
tcflush(PortFD, TCIOFLUSH);
resp[nbytes_read] = '\0';
sscanf(resp, "%6d%2d%4d", &ieafpos, &ieafmodel, &ieaflast);
if (ieafmodel == 2)
//add iAFS Focuser
if ((ieafmodel == 2)||(ieafmodel == 3))
{
return true;
}
Expand Down

0 comments on commit 194f260

Please sign in to comment.