|
|
|
@ -403,7 +403,6 @@ void AP_BoardConfig::px4_setup_px4io(void)
@@ -403,7 +403,6 @@ void AP_BoardConfig::px4_setup_px4io(void)
|
|
|
|
|
*/ |
|
|
|
|
void AP_BoardConfig::px4_setup_peripherals(void) |
|
|
|
|
{ |
|
|
|
|
#ifndef CONFIG_ARCH_BOARD_AEROFC_V1 |
|
|
|
|
// always start adc
|
|
|
|
|
if (px4_start_driver(adc_main, "adc", "start")) { |
|
|
|
|
hal.analogin->init(); |
|
|
|
@ -411,7 +410,6 @@ void AP_BoardConfig::px4_setup_peripherals(void)
@@ -411,7 +410,6 @@ void AP_BoardConfig::px4_setup_peripherals(void)
|
|
|
|
|
} else { |
|
|
|
|
px4_sensor_error("no ADC found"); |
|
|
|
|
} |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#if !defined(CONFIG_ARCH_BOARD_PX4FMU_V4) && \ |
|
|
|
|
!defined(CONFIG_ARCH_BOARD_AEROFC_V1) |
|
|
|
|