mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00
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:
parent
61175740f6
commit
bc61e9f86b
@ -77,6 +77,7 @@ mraa_result_t Servo::setAngle (int angle) {
|
||||
}
|
||||
|
||||
m_currAngle = angle;
|
||||
return MRAA_SUCCESS;
|
||||
}
|
||||
|
||||
mraa_result_t Servo::haltPwm () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user