Skip to content

Commit

Permalink
Complete the ifdefs — missed one.
Browse files Browse the repository at this point in the history
  • Loading branch information
giseburt committed Oct 2, 2011
1 parent 0b8bbcf commit 29815db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions v2/src/shared/StepperAxis.cc
Expand Up @@ -48,8 +48,10 @@ void StepperAxis::reset() {
target = 0;
counter = 0;
delta = 0;
#if defined(SINGLE_SWITCH_ENDSTOPS) && (SINGLE_SWITCH_ENDSTOPS == 1)
endstop_play = ENDSTOP_DEFAULT_PLAY;
endstop_status = ESS_UNKNOWN;
#endif //SINGLE_SWITCH_ENDSTOPS
}

void StepperAxis::doInterrupt(const int32_t intervals) {
Expand Down

0 comments on commit 29815db

Please sign in to comment.