summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeonghoon Park <jh1979.park@samsung.com>2017-12-07 20:22:20 +0900
committerJeonghoon Park <jh1979.park@samsung.com>2017-12-07 20:22:20 +0900
commit17690b69caabec949893b7bdd77f79f560fd66a6 (patch)
tree1d789559a845588735dd0cf372bdffe78e74e7a8 /src
parent842e0c3100203d79cf52551f40f647c18630020e (diff)
downloadgear-racing-car-17690b69caabec949893b7bdd77f79f560fd66a6.tar.gz
gear-racing-car-17690b69caabec949893b7bdd77f79f560fd66a6.tar.bz2
gear-racing-car-17690b69caabec949893b7bdd77f79f560fd66a6.zip
add missing return in function
Diffstat (limited to 'src')
-rw-r--r--src/servo_motor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/servo_motor.c b/src/servo_motor.c
index 444c91e..4e2e6ee 100644
--- a/src/servo_motor.c
+++ b/src/servo_motor.c
@@ -27,6 +27,8 @@ int servo_motor_init(void)
_E("failed to init PCA9685");
return -1;
}
+
+ return 0;
}
int servo_motor_fini(void)