servo: return a value in setAngle()

defect #356

Signed-off-by: Jon Trulson <jtrulson@ics.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Jon Trulson 2015-06-10 15:28:05 -06:00 committed by Mihai Tudor Panu
parent 61175740f6
commit bc61e9f86b

View File

@ -77,6 +77,7 @@ mraa_result_t Servo::setAngle (int angle) {
}
m_currAngle = angle;
return MRAA_SUCCESS;
}
mraa_result_t Servo::haltPwm () {