Revision 53349043 scout_avr/src/stepper.cpp

View differences:

scout_avr/src/stepper.cpp
43 43

  
44 44
void step_enable()
45 45
{
46
  return; // stepper is temporarily disabled for demo
46 47
  PORTF &= ~_BV(S_EN);
47 48
}
48 49

  
......
82 83

  
83 84
void step_do_step()
84 85
{
86
  return; // stepper is temporarily disabled for demo
85 87
  if(step.dir==0) return; //do not step if not enabled
86 88
  PORTD |= (1<<S_STEP); //step once 
87 89
  _delay_us(1); //conform with step timing

Also available in: Unified diff