Revision 64aea12e scout_avr/src/main.cpp

View differences:

scout_avr/src/main.cpp
29 29
    sonar::sonar_toggleResponse& resp)
30 30
{
31 31
  range_enabled = req.set_on;
32
  if (range_enabled)
33
    step_enable();
34
  else
35
    step_disable();
32 36
  resp.ack = true;
33 37
}
34 38

  

Also available in: Unified diff