mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-03 13:00:35 +08:00
Merge branch 'master' of github.com:PX4/Firmware into pwm_ioctls
This commit is contained in:
@@ -140,7 +140,7 @@ int preflight_check_main(int argc, char *argv[])
|
||||
|
||||
/* ---- RC CALIBRATION ---- */
|
||||
|
||||
bool rc_ok = (OK == rc_calibration_check());
|
||||
bool rc_ok = (OK == rc_calibration_check(mavlink_fd));
|
||||
|
||||
/* warn */
|
||||
if (!rc_ok)
|
||||
@@ -227,4 +227,4 @@ static int led_off(int leds, int led)
|
||||
static int led_on(int leds, int led)
|
||||
{
|
||||
return ioctl(leds, LED_ON, led);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user