AP_BoardConfig: FMUv1 does not have pwm_input driver

This commit is contained in:
Andrew Tridgell 2016-08-08 19:43:41 +10:00
parent 39676d686c
commit eaa88b1223
1 changed files with 2 additions and 0 deletions

View File

@ -494,9 +494,11 @@ void AP_BoardConfig::px4_start_optional_sensors(void)
printf("Found mb12xx sensor\n");
}
#if !defined(CONFIG_ARCH_BOARD_PX4FMU_V1)
if (px4_start_driver(pwm_input_main, "pwm_input", "start")) {
printf("started pwm_input driver\n");
}
#endif
}