Browse Source

Merge pull request #1395 from AnHardt/iss1394

removed function step_wait() from stepper.cpp
pull/1/head
Scott Lahteine 10 years ago
parent
commit
9040446780
  1. 6
      Marlin/stepper.cpp

6
Marlin/stepper.cpp

@ -238,12 +238,6 @@ void st_wake_up() {
ENABLE_STEPPER_DRIVER_INTERRUPT(); ENABLE_STEPPER_DRIVER_INTERRUPT();
} }
void step_wait(){
for(int8_t i=0; i < 6; i++){
}
}
FORCE_INLINE unsigned short calc_timer(unsigned short step_rate) { FORCE_INLINE unsigned short calc_timer(unsigned short step_rate) {
unsigned short timer; unsigned short timer;
if(step_rate > MAX_STEP_FREQUENCY) step_rate = MAX_STEP_FREQUENCY; if(step_rate > MAX_STEP_FREQUENCY) step_rate = MAX_STEP_FREQUENCY;

Loading…
Cancel
Save