Kallums Fork
Fork of SteeringServo by
Diff: SteeringServo.cpp
- Revision:
- 2:80a7bb0d71af
- Parent:
- 1:88fe796b4c2e
diff -r 88fe796b4c2e -r 80a7bb0d71af SteeringServo.cpp --- a/SteeringServo.cpp Sat Sep 02 00:52:36 2017 +0000 +++ b/SteeringServo.cpp Wed Sep 06 23:45:13 2017 +0000 @@ -16,7 +16,7 @@ // -- Ensure that pulse width doesn't exceed limits if (pulseWidth < minimumPulseWidth_) { - pulseWidth = mimimumPulseWidth_; + pulseWidth = minimumPulseWidth_; } else if (pulseWidth > maximumPulseWidth_) { @@ -35,6 +35,6 @@ //-- return the current Pulse Width int SteeringServo::getPulseWidth(void) { - return(currentPulseWidth); + return(0); } \ No newline at end of file