Skip to content

Commit

Permalink
powerDownActive is purely virtual/not implemented for DC focuser clas…
Browse files Browse the repository at this point in the history
…s. This fixes compile-time error.
  • Loading branch information
pkusmierski committed Mar 25, 2021
1 parent 6a04e76 commit 805e3f4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion OnStep.ino
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,9 @@ void setup() {
tmcAxis4.setup(AXIS4_DRIVER_INTPOL,AXIS4_DRIVER_DECAY_MODE,AXIS4_DRIVER_CODE,axis4Settings.IRUN,axis4SettingsEx.IHOLD);
#endif

foc1.powerDownActive(AXIS4_DRIVER_POWER_DOWN == ON, AXIS4_DRIVER_POWER_DOWN == STARTUP);
#if AXIS4_DRIVER_DC_MODE == OFF
foc1.powerDownActive(AXIS4_DRIVER_POWER_DOWN == ON, AXIS4_DRIVER_POWER_DOWN == STARTUP);
#endif
#endif

#if FOCUSER2 == ON
Expand Down

0 comments on commit 805e3f4

Please sign in to comment.