mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-06 06:43:21 +08:00
Servo test: fix style
This commit is contained in:
@@ -116,8 +116,10 @@ int test_servo(int argc, char *argv[])
|
||||
printf("Advancing channel 1 to 1800\n");
|
||||
result = ioctl(fd, PWM_SERVO_SET(1), 1800);
|
||||
out:
|
||||
|
||||
if (fd >= 0) {
|
||||
close(fd);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user