Skip to content

Commit

Permalink
Update presets to use the maximum position
Browse files Browse the repository at this point in the history
  • Loading branch information
knro committed Nov 23, 2024
1 parent dcd7a14 commit 7adc723
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions indi-asi/asi_focuser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,13 @@ bool ASIEAF::initProperties()
FocusAbsPosN[0].value = 0;
FocusAbsPosN[0].step = m_MaxSteps / 20.0;

PresetN[0].max = m_MaxSteps;
PresetN[0].step = m_MaxSteps / 20.0;
PresetN[1].max = m_MaxSteps;
PresetN[1].step = m_MaxSteps / 20.0;
PresetN[2].max = m_MaxSteps;
PresetN[2].step = m_MaxSteps / 20.0;

setDefaultPollingPeriod(500);

addDebugControl();
Expand Down

0 comments on commit 7adc723

Please sign in to comment.