We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fe02f5 commit 9e188fcCopy full SHA for 9e188fc
examples/servo/main.c
@@ -36,8 +36,7 @@ int main(void) {
36
printf("\nThe angle you provided exceeds 360 degrees\n");
37
return -1;
38
} else if (result == RETURNCODE_FAIL) {
39
- printf("\nThe angle could not be changed. The provided angle exceeds the servo's limit\n");
40
- return -1;
+ printf("\nAngle %d exceeds the servo's limit angle.\n", i);
41
}
42
43
if (libtock_servo_read_angle(index, &angle) != RETURNCODE_SUCCESS) {
0 commit comments